Generalize nfs path

This commit is contained in:
Bun 2025-03-08 02:44:09 -05:00
parent 58e165ad1d
commit b3310802cb
12 changed files with 15 additions and 34 deletions

View file

@ -1,21 +1,16 @@
{ lib, ... }:
{
imports = [
./filesystems
./hardware
./users
../../modules/system
];
networking = {
hostName = "extern";
wg-quick.interfaces.wgc.address = [ "10.100.0.21/24" ];
};
networking.hostName = "iso";
system = {
desktop.enable = true;
wireless.enable = true;
wireguard.client.enable = true;
video.nvidia.enable = true;
libvirtd.enable = true;
stateVersion = "24.11";

View file

@ -1,11 +0,0 @@
{ config, ... }:
{
fileSystems = {
# Network mounts
"/home/${config.sysusers.main}/KittyNFS" = {
device = "10.100.0.1:/export/KittyNFS";
fsType = "nfs4";
options = [ "x-systemd.automount" "_netdev" "nofail" "noauto" ];
};
};
}