mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-02-04 11:58:53 -05:00
add aws lighthouse flake
This commit is contained in:
parent
1f6eb57917
commit
25dbd99041
2 changed files with 32 additions and 0 deletions
19
flake.nix
19
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
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
13
hosts/WCE-Lighthouse/default.nix
Normal file
13
hosts/WCE-Lighthouse/default.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../modules
|
||||
];
|
||||
|
||||
networking.hostName = "WCE-Lighthouse";
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue