dotfiles/generators/aws.nix
2022-09-20 11:50:45 +00:00

23 lines
678 B
Nix

{ nixpkgs, system, nixos-generators, home-manager, globals, ... }:
nixos-generators.nixoGenerate {
inherit system;
imports = [
globals
home-manager.nixosModules.home-manager
{
networking.hostName = "sheep";
gui.enable = false;
colorscheme = (import ../../modules/colorscheme/gruvbox);
passwordHash =
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
}
../hosts/common.nix
../modules/nixos
../modules/services/sshd.nix
];
format = "aws";
}