|
@ -4,17 +4,45 @@ |
|
|
inputs = { |
|
|
inputs = { |
|
|
nixpkgs.url = "github:nixos/nixpkgs"; |
|
|
nixpkgs.url = "github:nixos/nixpkgs"; |
|
|
home-manager.url = "github:nix-community/home-manager"; |
|
|
home-manager.url = "github:nix-community/home-manager"; |
|
|
|
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs"; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, home-manager }: { |
|
|
outputs = { self, nixpkgs, home-manager }: { |
|
|
nixosConfigurations.nixbox = nixpkgs.lib.nixosSystem { |
|
|
|
|
|
|
|
|
nixosConfigurations.nixbox-cwm = nixpkgs.lib.nixosSystem { |
|
|
system = "x86_64-linux"; |
|
|
system = "x86_64-linux"; |
|
|
modules = [ |
|
|
modules = [ |
|
|
home-manager.nixosModule |
|
|
home-manager.nixosModule |
|
|
|
|
|
({config, ...}: { |
|
|
|
|
|
networking.hostName = "nixbox-cwm"; |
|
|
|
|
|
}) |
|
|
./configuration.nix |
|
|
./configuration.nix |
|
|
./rices/cwm.nix |
|
|
./rices/cwm.nix |
|
|
./hardware.nix |
|
|
./hardware.nix |
|
|
]; |
|
|
]; |
|
|
}; |
|
|
}; |
|
|
|
|
|
nixosConfigurations.nixbox-gnome = nixpkgs.lib.nixosSystem { |
|
|
|
|
|
system = "x86_64-linux"; |
|
|
|
|
|
modules = [ |
|
|
|
|
|
home-manager.nixosModule |
|
|
|
|
|
({config, ...}: { |
|
|
|
|
|
networking.hostName = "nixbox-gnome"; |
|
|
|
|
|
}) |
|
|
|
|
|
./configuration.nix |
|
|
|
|
|
./rices/gnome.nix |
|
|
|
|
|
./hardware.nix |
|
|
|
|
|
]; |
|
|
|
|
|
}; |
|
|
|
|
|
nixosConfigurations.nixbox-bspwm = nixpkgs.lib.nixosSystem { |
|
|
|
|
|
system = "x86_64-linux"; |
|
|
|
|
|
modules = [ |
|
|
|
|
|
home-manager.nixosModule |
|
|
|
|
|
({config, ...}: { |
|
|
|
|
|
networking.hostName = "nixbox-bspwm"; |
|
|
|
|
|
}) |
|
|
|
|
|
./configuration.nix |
|
|
|
|
|
./rices/bspwm.nix |
|
|
|
|
|
./hardware.nix |
|
|
|
|
|
]; |
|
|
|
|
|
}; |
|
|
}; |
|
|
}; |
|
|
} |
|
|
} |