mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
Using ./home.nix and ./nixos.nix as entrypoints for hosts. Using hardware profiles. Using new entrypoints (profiles/base/profiles.nix + profiles/base/home.nix). New modules (for DNS handling, for themeing, ...). Split up deploy-tf.nix into several modules. Renamed common profile to base profile.
29 lines
751 B
Nix
29 lines
751 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
boot.supportedFilesystems = [ "nfs" ];
|
|
|
|
fileSystems."/mnt/kat-nas" = lib.mkIf (config.networking.hostName != "beltane") {
|
|
device = "192.168.1.223:/mnt/zraw/media";
|
|
fsType = "nfs";
|
|
options = [ "x-systemd.automount" "noauto" "nfsvers=4" "soft" "retrans=2" "timeo=60"];
|
|
};
|
|
|
|
/*
|
|
fileSystems."/mnt/hex-corn" = {
|
|
device = "storah.net.lilwit.ch:/data/cornbox";
|
|
fsType = "nfs";
|
|
options = [ "x-systemd.automount" "noauto" ];
|
|
};
|
|
|
|
fileSystems."/mnt/hex-tor" = {
|
|
device = "storah.net.lilwit.ch:/data/torrents";
|
|
fsType = "nfs";
|
|
options = [ "x-systemd.automount" "noauto" ];
|
|
};
|
|
*/
|
|
|
|
systemd.services.nfs-mountd = {
|
|
wants = [ "network-online.target" "yggdrassil.service" ];
|
|
};
|
|
}
|