Compare commits

..

No commits in common. "2694e3288cb16aef55428b1898700b814003fc15" and "ef6c920c48be557745cdbed08ebc8de50b102cca" have entirely different histories.

4 changed files with 13 additions and 12 deletions

View File

@ -78,14 +78,6 @@
};
};
# Package servers into images with a generator
packages.x86_64-linux = with inputs; {
aws = import ./hosts/aws {
inherit nixpkgs nixos-generators home-manager globals;
system = "x86_64-linux";
};
};
apps = forAllSystems (system:
let pkgs = import nixpkgs { inherit system; };
in rec {
@ -140,6 +132,14 @@
});
# Package servers into images with a generator
packages.x86_64-linux = with inputs; {
aws = import ./generators/aws {
inherit nixpkgs nixos-generators home-manager globals;
system = "x86_64-linux";
};
};
# Templates for starting other projects quickly
templates = rec {
default = basic;

View File

@ -14,15 +14,16 @@ nixos-generators.nixosGenerate {
networking.hostName = "sheep";
gui.enable = false;
colorscheme = (import ../modules/colorscheme/gruvbox);
passwordHash = null;
passwordHash =
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
# AWS settings require this
permitRootLogin = "prohibit-password";
}
../../hosts/common.nix
../../modules/nixos
../../modules/services/sshd.nix
../hosts/common.nix
../modules/nixos
../modules/services/sshd.nix
] ++ [
# Required to fix diskSize errors during build
({ ... }: { amazonImage.sizeMB = 16 * 1024; })