42 lines
616 B
Nix
42 lines
616 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
|
|
age.secrets = {
|
|
tailscale-authKey.file = ../../secrets/tailscale-authKey.age;
|
|
};
|
|
|
|
my = {
|
|
utils.commons.enable = true;
|
|
|
|
networking.tailscale = {
|
|
enable = false;
|
|
exitNode = "vps";
|
|
authKeyFile = config.age.secrets.tailscale-authKey.path;
|
|
};
|
|
|
|
virtualisation = {
|
|
proxmox.enable = true;
|
|
};
|
|
};
|
|
|
|
time.timeZone = "Europe/Rome";
|
|
|
|
# Extra packages
|
|
environment.systemPackages = with pkgs; [ ];
|
|
|
|
services = {
|
|
openssh.enable = true;
|
|
|
|
prometheus = {
|
|
enable = true;
|
|
};
|
|
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|