nixos-config/machines/minio/configuration.nix

46 lines
834 B
Nix
Raw Normal View History

2023-01-06 00:11:11 +01:00
{ self, ... }:
{ modulesPath, ... }: {
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
2023-09-11 20:12:52 +02:00
./backup.nix
2023-01-06 00:11:11 +01:00
../../users/root
../../users/erwin
];
eboskma = {
users.erwin = {
enable = true;
server = true;
};
2023-01-06 00:11:11 +01:00
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;
2023-05-23 17:12:31 +02:00
services.tailscale.enable = true;
2023-01-06 00:11:11 +01:00
sops.defaultSopsFile = ./secrets.yaml;
sops.secrets = {
minio-root-credentials = { };
2023-09-11 20:12:52 +02:00
minio_backup_ssh_key = { };
minio_backup_pass = { };
2023-01-06 00:11:11 +01:00
};
system.stateVersion = "23.05";
}