From cd81467518294a1c11b3b4e66ed3e6bf82d64121 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Tue, 19 Aug 2025 15:14:04 +0200 Subject: [PATCH] feat: adds `smb` share for `violet` --- hosts/violet/default.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hosts/violet/default.nix b/hosts/violet/default.nix index d361648..b9e9a0c 100644 --- a/hosts/violet/default.nix +++ b/hosts/violet/default.nix @@ -22,7 +22,8 @@ time.timeZone = "Europe/Amsterdam"; environment.systemPackages = with pkgs; [ - pkgs.kitty.terminfo + kitty.terminfo + cifs-utils ]; services = { @@ -62,4 +63,14 @@ ] ++ [ pkgs.cpupower-gui ]; }; + + fileSystems."/mnt/nfs/violet" = { + device = "//172.16.10.130/spinners/violet"; # not ideal, should get the static IP from dandelion from a config attribute but whatever... + fsType = "cifs"; + options = [ + "x-systemd.automount" + "noauto" + "credentials=${config.sops.secrets.smbLoginDetails.path}" + ]; + }; }