45 lines
834 B
Nix
45 lines
834 B
Nix
{ self, ... }:
|
|
{ modulesPath, ... }: {
|
|
imports = [
|
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
|
|
|
./backup.nix
|
|
../../users/root
|
|
../../users/erwin
|
|
];
|
|
|
|
eboskma = {
|
|
users.erwin = {
|
|
enable = true;
|
|
server = true;
|
|
};
|
|
services = {
|
|
minio.enable = true;
|
|
};
|
|
nix-common = {
|
|
enable = true;
|
|
remote-builders = true;
|
|
};
|
|
};
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
system.configurationRevision = self.inputs.nixpkgs.lib.mkIf (self ? rev) self.rev;
|
|
|
|
proxmoxLXC = {
|
|
privileged = true;
|
|
};
|
|
|
|
security.sudo.execWheelOnly = true;
|
|
|
|
services.tailscale.enable = true;
|
|
|
|
sops.defaultSopsFile = ./secrets.yaml;
|
|
sops.secrets = {
|
|
minio-root-credentials = { };
|
|
minio_backup_ssh_key = { };
|
|
minio_backup_pass = { };
|
|
};
|
|
|
|
system.stateVersion = "23.05";
|
|
}
|