From 87be0d3dd54e71f33b9d8a757273ae4f2170e3f0 Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 18 Jan 2026 21:17:14 -0600 Subject: Multiple configs --- flake.nix | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index c7d4742..478fc63 100644 --- a/flake.nix +++ b/flake.nix @@ -15,25 +15,17 @@ }; outputs = { self, nixpkgs, home-manager, nix-index-database, ... }@inputs: { - nixosConfigurations.nixos = nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; - specialArgs = { inherit inputs; }; - - modules = [ - ./configuration.nix - - nix-index-database.nixosModules.nix-index - - home-manager.nixosModules.home-manager - { - home-manager.useGlobalPkgs = true; - home-manager.useUserPackages = true; - - home-manager.users.christian = import ./home.nix; - - home-manager.extraSpecialArgs = { inherit inputs; }; - } - ]; + nixosConfigurations = { + hyper-v = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ ./hosts/hyper-v/configuration.nix ]; + }; + desktop = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ ./hosts/desktop/configuration.nix ]; + }; }; }; } -- cgit v1.2.3