mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-05 02:29:08 +00:00
Compare commits
2 Commits
ef6c920c48
...
2694e3288c
Author | SHA1 | Date | |
---|---|---|---|
|
2694e3288c | ||
|
af31c65788 |
16
flake.nix
16
flake.nix
@ -78,6 +78,14 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# 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:
|
apps = forAllSystems (system:
|
||||||
let pkgs = import nixpkgs { inherit system; };
|
let pkgs = import nixpkgs { inherit system; };
|
||||||
in rec {
|
in rec {
|
||||||
@ -132,14 +140,6 @@
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
# 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 for starting other projects quickly
|
||||||
templates = rec {
|
templates = rec {
|
||||||
default = basic;
|
default = basic;
|
||||||
|
@ -14,16 +14,15 @@ nixos-generators.nixosGenerate {
|
|||||||
networking.hostName = "sheep";
|
networking.hostName = "sheep";
|
||||||
gui.enable = false;
|
gui.enable = false;
|
||||||
colorscheme = (import ../modules/colorscheme/gruvbox);
|
colorscheme = (import ../modules/colorscheme/gruvbox);
|
||||||
passwordHash =
|
passwordHash = null;
|
||||||
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
|
|
||||||
publicKey =
|
publicKey =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
|
||||||
# AWS settings require this
|
# AWS settings require this
|
||||||
permitRootLogin = "prohibit-password";
|
permitRootLogin = "prohibit-password";
|
||||||
}
|
}
|
||||||
../hosts/common.nix
|
../../hosts/common.nix
|
||||||
../modules/nixos
|
../../modules/nixos
|
||||||
../modules/services/sshd.nix
|
../../modules/services/sshd.nix
|
||||||
] ++ [
|
] ++ [
|
||||||
# Required to fix diskSize errors during build
|
# Required to fix diskSize errors during build
|
||||||
({ ... }: { amazonImage.sizeMB = 16 * 1024; })
|
({ ... }: { amazonImage.sizeMB = 16 * 1024; })
|
Loading…
Reference in New Issue
Block a user