mirror of https://gitlab.crans.org/nounous/nixos
30 lines
504 B
Nix
30 lines
504 B
Nix
{ ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./networking.nix
|
|
|
|
../../../modules
|
|
../../../modules/services/nextcloud.nix
|
|
];
|
|
|
|
networking.hostName = "nextcloud";
|
|
boot.loader.grub.devices = [ "/dev/sda" ];
|
|
|
|
fileSystems."/home-adh" = {
|
|
device = "172.16.4.2:/pool/home";
|
|
fsType = "nfs";
|
|
};
|
|
|
|
services.autofs = {
|
|
enable = true;
|
|
|
|
autoMaster = ''
|
|
/home-nextcloud /etc/auto.master.d/home-nextcloud.sh -t60
|
|
'';
|
|
};
|
|
|
|
system.stateVersion = "25.05";
|
|
}
|