40 lines
854 B
Nix
40 lines
854 B
Nix
{ modulesPath, tree, config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports = with tree; [
|
|
users.root
|
|
|
|
profiles.base
|
|
profiles.tailscale
|
|
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";
|
|
}
|
|
|