dotfiles/hosts/arrow/modules.nix

43 lines
1.1 KiB
Nix
Raw Normal View History

2024-04-13 13:03:44 +00:00
{
inputs,
globals,
overlays,
}:
2024-03-24 17:16:20 +00:00
[
globals
inputs.home-manager.nixosModules.home-manager
{
nixpkgs.overlays = overlays;
networking.hostName = "arrow";
physical = false;
server = true;
gui.enable = false;
theme.colors = (import ../../colorscheme/gruvbox).dark;
publicKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s personal"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKpPU2G9rSF8Q6waH62IJexDCQ6lY+8ZyVufGE3xMDGw deploy"
];
identityFile = "/home/${globals.user}/.ssh/id_ed25519";
cloudflare.enable = true;
services.openssh.enable = true;
services.caddy.enable = true;
2024-05-06 18:26:24 +00:00
services.n8n.enable = true;
2024-03-24 17:16:20 +00:00
2024-05-05 03:05:55 +00:00
# nix-index seems to eat up too much memory for Vultr
2024-04-13 13:03:44 +00:00
home-manager.users.${globals.user}.programs.nix-index.enable = inputs.nixpkgs.lib.mkForce false;
2024-03-24 17:16:20 +00:00
virtualisation.vmVariant = {
2024-04-13 13:03:44 +00:00
virtualisation.forwardPorts = [
{
from = "host";
host.port = 2222;
guest.port = 22;
}
];
2024-03-24 17:16:20 +00:00
};
}
../../modules/common
../../modules/nixos
]