42 lines
730 B
Nix
42 lines
730 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
|
|
age.secrets = {
|
|
nextcloud-admin-pwd = {
|
|
file = ../../secrets/nextcloud-admin-pwd.age;
|
|
owner = "nextcloud";
|
|
group = "nextcloud";
|
|
mode = "770";
|
|
};
|
|
};
|
|
|
|
my = {
|
|
utils = {
|
|
commons.enable = true;
|
|
lxc-standard.enable = true;
|
|
};
|
|
|
|
services.nextcloud = {
|
|
enable = true;
|
|
adminPasswordFile = config.age.secrets.nextcloud-admin-pwd.path;
|
|
proxy.domain = "pasetto.me";
|
|
};
|
|
|
|
networking.nas-samba-share = {
|
|
enable = true;
|
|
allowUsers = [ "nextcloud" ];
|
|
};
|
|
|
|
virtualisation.proxmox.enable = true;
|
|
};
|
|
|
|
# Extra packages
|
|
environment.systemPackages = with pkgs; [ ];
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|