]> git.dkaiser.de - config/nixos.git/commitdiff
Add musnix
authorDominik Kaiser <dominik-kaiser@mailbox.org>
Mon, 21 Jul 2025 16:22:02 +0000 (18:22 +0200)
committerDominik Kaiser <dominik-kaiser@mailbox.org>
Mon, 21 Jul 2025 16:22:02 +0000 (18:22 +0200)
flake.lock
flake.nix
hosts/sol/configuration.nix

index 1a2afa7c4c49501f36c4ef109b9ea58ca297b6f0..913505a4c70b3f4702b1902a2ac9b1df7bc63ea3 100644 (file)
         "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=",
@@ -61,7 +95,8 @@
       "inputs": {
         "disko": "disko",
         "home-manager": "home-manager",
-        "nixpkgs": "nixpkgs"
+        "musnix": "musnix",
+        "nixpkgs": "nixpkgs_2"
       }
     }
   },
index 1f8451bbf176d8a19ac8be7028d7ef92488e913d..1f392fc673022f1746b53d2210c1b1ba039cc43a 100644 (file)
--- a/flake.nix
+++ b/flake.nix
@@ -12,6 +12,9 @@
     # Disko
     disko.url = "github:nix-community/disko";
     disko.inputs.nixpkgs.follows = "nixpkgs";
+
+    # Musnix
+    musnix.url = "github:musnix/musnix";
   };
 
   outputs = {
     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;};
index 21c70df1189a884439755e71989bc930b3facec7..32cc7adc1016c2311de25a01ba1f758f5ccab39a 100644 (file)
@@ -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