From 33b24d67c06edc219b8feaa99359fda471910525 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Sun, 20 Oct 2024 20:02:21 -0400 Subject: [PATCH] Add NFS to the Lenovo --- hosts/redmond/system/hardware/default.nix | 5 +++++ modules/home/utils/zsh/default.nix | 1 + 2 files changed, 6 insertions(+) diff --git a/hosts/redmond/system/hardware/default.nix b/hosts/redmond/system/hardware/default.nix index cc0578f..4d1b8e3 100644 --- a/hosts/redmond/system/hardware/default.nix +++ b/hosts/redmond/system/hardware/default.nix @@ -30,6 +30,11 @@ fsType = "vfat"; 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; diff --git a/modules/home/utils/zsh/default.nix b/modules/home/utils/zsh/default.nix index de3c948..dbef8a8 100644 --- a/modules/home/utils/zsh/default.nix +++ b/modules/home/utils/zsh/default.nix @@ -14,6 +14,7 @@ nixclean = "doas nix-store --gc; nix-collect-garbage -d"; nixpurge = "doas nix-collect-garbage --delete-old"; nixoptimize = "doas nix store optimise"; + nixscrub = "nixclean; nixpurge; nixoptimize"; # Flake commands flakedate = "doas nix flake update /etc/nixos";