Add NFS to the Lenovo

This commit is contained in:
Jimbo 2024-10-20 20:02:21 -04:00
parent 1bd9bcf59f
commit 33b24d67c0
2 changed files with 6 additions and 0 deletions

View file

@ -30,6 +30,11 @@
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };
"/home/jimbo/JimboNFS" = {
device = "${config.ips.wgSpan}.1:/export/JimboNFS";
fsType = "nfs4";
options = ["x-systemd.automount" "_netdev" "nofail" "noauto"];
};
}; };
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;

View file

@ -14,6 +14,7 @@
nixclean = "doas nix-store --gc; nix-collect-garbage -d"; nixclean = "doas nix-store --gc; nix-collect-garbage -d";
nixpurge = "doas nix-collect-garbage --delete-old"; nixpurge = "doas nix-collect-garbage --delete-old";
nixoptimize = "doas nix store optimise"; nixoptimize = "doas nix store optimise";
nixscrub = "nixclean; nixpurge; nixoptimize";
# Flake commands # Flake commands
flakedate = "doas nix flake update /etc/nixos"; flakedate = "doas nix flake update /etc/nixos";