my system configurations ^-^
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: attempt to prevent samba hanging

willow 32c28536 c67c7987

+12 -10
+9 -9
hosts/earthy/default.nix
··· 12 12 ]; 13 13 14 14 # samba 15 - # environment.systemPackages = [pkgs.cifs-utils]; 16 - # fileSystems."/mnt/share" = { 17 - # device = "//192.168.1.30/thinkpad_backup/"; 18 - # fsType = "cifs"; 19 - # options = let 20 - # # this line prevents hanging on network split 21 - # automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"; 22 - # in ["${automount_opts},credentials=${config.age.secrets.samba.path}"]; 23 - # }; 15 + environment.systemPackages = [pkgs.cifs-utils]; 16 + fileSystems."/mnt/share" = { 17 + device = "//192.168.1.30/thinkpad_backup/"; 18 + fsType = "cifs"; 19 + options = let 20 + # this line prevents hanging on network split 21 + automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s"; 22 + in ["${automount_opts},credentials=${config.age.secrets.samba.path}"]; 23 + }; 24 24 }
+1 -1
modules/nixos/services/default.nix
··· 9 9 ./pipewire.nix 10 10 ./printing.nix 11 11 ./privacy.nix 12 - # ./restic.nix 12 + ./restic.nix 13 13 # ./sddm.nix 14 14 ./tlp.nix 15 15 # ./xfce.nix
+2
modules/nixos/services/tlp.nix
··· 6 6 CPU_ENERGY_PERF_POLICY_ON_BAT = "balance_power"; 7 7 PLATFORM_PROFILE_ON_AC = "performance"; 8 8 PLATFORM_PROFILE_ON_BAT = "low-power"; 9 + WIFI_PWR_ON_AC = "off"; # default: off 10 + WIFI_PWR_ON_BAT = "off"; # default: on todo)) trying to resolve samba frozen unit session slice issue 9 11 }; 10 12 }; 11 13 }