diff options
| -rw-r--r-- | flake.nix | 58 |
1 files changed, 18 insertions, 40 deletions
@@ -18,46 +18,24 @@ nix-minecraft.url = "github:CartConnoisseur/nix-minecraft"; }; - outputs = inputs: - inputs.snowfall-lib.mkFlake { - inherit inputs; - src = ./.; - - snowfall = { - root = ./snowfall; - namespace = "cxl"; - - meta = { - name = "cxl"; - title = "cxl flake"; - }; - }; + outputs = inputs: inputs.snowfall-lib.mkFlake { + inherit inputs; + src = ./.; + + snowfall = { + root = ./snowfall; + namespace = "cxl"; - systems.modules.nixos = with inputs; [ - inputs.home-manager.nixosModules.default - impermanence.nixosModules.impermanence - nix-minecraft.nixosModules.minecraft-servers - ]; + meta = { + name = "cxl"; + title = "cxl flake"; + }; }; - # nixosConfigurations = { - # c-pc = nixpkgs.lib.nixosSystem { - # specialArgs = { inherit inputs; }; - # modules = [ - # ./hosts/c-pc/configuration.nix - # inputs.home-manager.nixosModules.default - # inputs.impermanence.nixosModules.impermanence - # inputs.nix-minecraft.nixosModules.minecraft-servers - # (import ./overlays) - # ]; - # }; - - # copenhagen = nixpkgs.lib.nixosSystem { - # specialArgs = { inherit inputs; }; - # modules = [ - # ./hosts/copenhagen/configuration.nix - # inputs.home-manager.nixosModules.default - # inputs.impermanence.nixosModules.impermanence - # inputs.nix-minecraft.nixosModules.minecraft-servers - # ]; - # }; + + systems.modules.nixos = with inputs; [ + inputs.home-manager.nixosModules.default + impermanence.nixosModules.impermanence + nix-minecraft.nixosModules.minecraft-servers + ]; + }; } |