nixos-config/machines/minio/configuration.nix

58 lines
1 KiB
Nix
Raw Normal View History

2023-01-06 00:11:11 +01:00
{ self, ... }:
{ modulesPath, ... }: {
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
../../users/root
../../users/erwin
];
eboskma = {
users.erwin.enable = 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;
# networking = {
# hostName = "gitea";
# useDHCP = false;
# interfaces = {
# eth0 = {
# ipv4.addresses = [
# {
# address = "10.0.0.204";
# prefixLength = 24;
# }
# ];
# };
# };
# defaultGateway = "10.0.0.1";
# nameservers = [ "10.0.0.254" ];
# };
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 = { };
};
system.stateVersion = "23.05";
}