"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=",
"inputs": {
"disko": "disko",
"home-manager": "home-manager",
- "nixpkgs": "nixpkgs"
+ "musnix": "musnix",
+ "nixpkgs": "nixpkgs_2"
}
}
},
# 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;};
[ # Include the results of the hardware scan.
./hardware-configuration.nix
../common/global
+ inputs.musnix.nixosModules.musnix
];
# Bootloader.
# 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;
users.users.dk = {
isNormalUser = true;
description = "Dominik Kaiser";
- extraGroups = [ "networkmanager" "wheel" ];
+ extraGroups = [ "networkmanager" "wheel" "audio" ];
packages = with pkgs; [
# thunderbird
podman-compose