diff options
| author | seth <[email protected]> | 2023-03-08 02:57:57 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-08 15:32:06 -0500 |
| commit | fa7a407bda1b26b413702287f227629af0798f55 (patch) | |
| tree | 38cc9ae1791939a0f92a3f03d37a0249e62cdf1a /hosts/default.nix | |
| parent | 729db074dc1b93cab10b43119197c8e02a452405 (diff) | |
another major refactor
Diffstat (limited to 'hosts/default.nix')
| -rw-r--r-- | hosts/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/hosts/default.nix b/hosts/default.nix new file mode 100644 index 0000000..8aff79e --- /dev/null +++ b/hosts/default.nix @@ -0,0 +1,32 @@ +{inputs}: +with inputs; let + common = { + system = "x86_64-linux"; + stateVersion = "23.05"; + pkgs = nixpkgsUnstable; + modules = with inputs; [ + home-manager.nixosModules.home-manager + nur.nixosModules.nur + ]; + }; +in { + glados = { + modules = + common.modules + ++ [ + nixos-hardware.nixosModules.common-cpu-amd-pstate + nixos-hardware.nixosModules.common-gpu-nvidia-nonprime + nixos-hardware.nixosModules.common-pc-ssd + lanzaboote.nixosModules.lanzaboote + ]; + inherit (common) system stateVersion pkgs; + }; + glados-wsl = { + modules = + common.modules + ++ [ + nixos-wsl.nixosModules.wsl + ]; + inherit (common) system stateVersion pkgs; + }; +} |
