diff options
| author | Dominik Kaiser | 2025-07-21 18:22:02 +0200 |
|---|---|---|
| committer | Dominik Kaiser | 2025-07-21 18:22:02 +0200 |
| commit | e304bc396044f9064c3bfbc4c3add0bd5573d4be (patch) | |
| tree | 42c82e2e2dd29070fb5162b0230958d42317f5f7 | |
| parent | abb86e6e6a4a6040ba013315491b80d81d890bdb (diff) | |
| download | nixos-e304bc396044f9064c3bfbc4c3add0bd5573d4be.tar.gz nixos-e304bc396044f9064c3bfbc4c3add0bd5573d4be.zip | |
Add musnix
| -rw-r--r-- | flake.lock | 37 | ||||
| -rw-r--r-- | flake.nix | 8 | ||||
| -rw-r--r-- | hosts/sol/configuration.nix | 6 |
3 files changed, 47 insertions, 4 deletions
@@ -41,8 +41,42 @@ "type": "github" } }, + "musnix": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1741303672, + "narHash": "sha256-eRKbKccBu3PK/oJpmUuLo+0v45d0SEjosE8tVsHbpeA=", + "owner": "musnix", + "repo": "musnix", + "rev": "d56a15f30329f304151e4e05fa82264d127da934", + "type": "github" + }, + "original": { + "owner": "musnix", + "repo": "musnix", + "type": "github" + } + }, "nixpkgs": { "locked": { + "lastModified": 1740695751, + "narHash": "sha256-D+R+kFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "6313551cd05425cd5b3e63fe47dbc324eabb15e4", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { "lastModified": 1751274312, "narHash": "sha256-/bVBlRpECLVzjV19t5KMdMFWSwKLtb5RyXdjz3LJT+g=", "owner": "nixos", @@ -61,7 +95,8 @@ "inputs": { "disko": "disko", "home-manager": "home-manager", - "nixpkgs": "nixpkgs" + "musnix": "musnix", + "nixpkgs": "nixpkgs_2" } } }, @@ -12,6 +12,9 @@ # Disko disko.url = "github:nix-community/disko"; disko.inputs.nixpkgs.follows = "nixpkgs"; + + # Musnix + musnix.url = "github:musnix/musnix"; }; outputs = { @@ -28,7 +31,10 @@ nixosConfigurations = { sol = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; - modules = [./hosts/sol/configuration.nix]; + modules = [ + inputs.musnix.nixosModules.musnix + ./hosts/sol/configuration.nix + ]; }; luna = nixpkgs.lib.nixosSystem { specialArgs = {inherit inputs outputs;}; diff --git a/hosts/sol/configuration.nix b/hosts/sol/configuration.nix index 21c70df..32cc7ad 100644 --- a/hosts/sol/configuration.nix +++ b/hosts/sol/configuration.nix @@ -9,6 +9,7 @@ [ # Include the results of the hardware scan. ./hardware-configuration.nix ../common/global + inputs.musnix.nixosModules.musnix ]; # Bootloader. @@ -53,7 +54,8 @@ # no need to redefine it in your config for now) #media-session.enable = true; }; - + musnix.enable = true; + # Enable touchpad support (enabled default in most desktopManager). # services.xserver.libinput.enable = true; @@ -61,7 +63,7 @@ users.users.dk = { isNormalUser = true; description = "Dominik Kaiser"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "audio" ]; packages = with pkgs; [ # thunderbird podman-compose |
