From 12c8101f21a4eef7219a7a2e6109b232a6cf808e Mon Sep 17 00:00:00 2001 From: Don Harper Date: Tue, 19 Sep 2023 19:35:33 -0500 Subject: [PATCH] flake.nix | add dragon --- flake.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 6103d11..cef0869 100644 --- a/flake.nix +++ b/flake.nix @@ -11,6 +11,7 @@ outputs = inputs: { nixosConfigurations = let workstation = { + system = "x86_64-linux"; modules = [ ./workstation inputs.home-manager.nixosModules.home-manager @@ -19,7 +20,6 @@ }; in { loki = inputs.nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; modules = workstation.modules ++ [ { networking.hostName = "loki"; @@ -29,7 +29,6 @@ ]; }; smaug = inputs.nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; modules = workstation.modules ++ [ { networking.hostName = "smaug"; @@ -39,8 +38,17 @@ ./hosts/smaug/hardware-configuration.nix ]; }; + dragon = inputs.nixpkgs.lib.nixosSystem { + modules = workstation.modules ++ [ + { + networking.hostName = "dragon"; + } + inputs.nixos-hardware.nixosModules. google-pixelbook + ./wm/sway + ./hosts/dragon/hardware-configuration.nix + ]; + }; eve = inputs.nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; modules = workstation.modules ++ [ { networking.hostName = "eve"; @@ -51,7 +59,6 @@ ]; }; vm2 = inputs.nixpkgs.lib.nixosSystem { - system = "x86_64-linux"; modules = workstation.modules ++ [ { services.getty.autologinUser = "don";