diff --git a/flake.nix b/flake.nix index e27c79b..a8dc5ae 100644 --- a/flake.nix +++ b/flake.nix @@ -102,6 +102,25 @@ sops-nix.nixosModules.sops ]; }; + ######################### + # AWS Nebula Lighthouse # + ######################### + WCE-Lighthouse-AWS = nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs; + pkgs = import nixpkgs { + system = "x86_64-linux"; + config.allowUnfree = true; + }; + }; + modules = [ + ./hosts/WCE-Lighthouse + "${nixpkgs}/nixos/modules/virtualisation/amazon-image.nix" + home-manager.nixosModules.home-manager + sops-nix.nixosModules.sops + ]; + + }; }; }; } diff --git a/hosts/WCE-Lighthouse/default.nix b/hosts/WCE-Lighthouse/default.nix new file mode 100644 index 0000000..4661763 --- /dev/null +++ b/hosts/WCE-Lighthouse/default.nix @@ -0,0 +1,13 @@ +{ + lib, + config, + pkgs, + ... +}: { + imports = [ + ../../modules + ]; + + networking.hostName = "WCE-Lighthouse"; + nixpkgs.hostPlatform = "x86_64-linux"; +}