nixfiles/hosts/hetzner-vm/hetzner-vm.nix
2022-11-11 16:32:26 +00:00

39 lines
831 B
Nix

{ modulesPath, tree, config, pkgs, lib, ... }:
{
imports = with tree; [
users.root
profiles.base
profiles.sshd
profiles.nginx
profiles.nix-gc
hosts.hetzner-vm.services.restic
hosts.hetzner-vm.services.invidious
hosts.hetzner-vm.services.quassel
hosts.hetzner-vm.services.mpd
hosts.hetzner-vm.services.mail
hosts.hetzner-vm.services.gitlab-static-sites
hosts.hetzner-vm.services.lappy-dev
hosts.hetzner-vm.services.misskey
./networking.nix
./hardware.nix
./secrets.nix
];
networking.firewall.allowedTCPPorts = [ 80 443 ];
home-manager.users.root = {
imports = with tree; [ home.base home.dev.small ];
home.stateVersion = "22.05";
};
networking.hostName = "hetzner-vm";
time.timeZone = "Europe/London";
system.stateVersion = "21.11";
}