From 175a1398722bed66ca89d3cc7532353781b0791a Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Tue, 4 Feb 2025 22:28:14 -0800 Subject: migration: remove old flake configs --- flake.nix | 58 ++++++++++++++++++---------------------------------------- 1 file changed, 18 insertions(+), 40 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 7781fa9..a27e5a7 100644 --- a/flake.nix +++ b/flake.nix @@ -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 + ]; + }; } -- cgit v1.2.3