diff options
Diffstat (limited to '')
-rw-r--r-- | flake/nixosConfigurations/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix new file mode 100644 index 0000000..6814665 --- /dev/null +++ b/flake/nixosConfigurations/default.nix @@ -0,0 +1,53 @@ +{ + self, + nixpkgs, + home-manager, + shell_library, + river_init_lesser, + yambar_cpu, + yambar_memory, + #grades, + prismlauncher, + lanzaboote, + nixvim, + impermanence, + wl-togglescreens, + sops-nix, + flake-utils, + agenix, + ragenix, +} @ attrs: let + defaultModules = [ + impermanence.nixosModules.impermanence + lanzaboote.nixosModules.lanzaboote + home-manager.nixosModules.home-manager + sops-nix.nixosModules.sops + agenix.nixosModules.default + { + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + users.sils = import ../../users/sils; + extraSpecialArgs = attrs; + }; + } + ]; +in { + thinklappi = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = attrs; + modules = + [ + ../../hosts/thinklappi + ] + ++ defaultModules; + }; + thinklappi-bootstrap = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = attrs; + modules = [ + ../../hosts/thinklappi-bootstrap + lanzaboote.nixosModules.lanzaboote + ]; + }; +} |