tangled
alpha
login
or
join now
nel.pet
/
cyclamen
4
fork
atom
NixOS and Home Manager config
4
fork
atom
overview
issues
pulls
pipelines
feat: nas mount
nel.pet
6 months ago
91a2935e
b2b006fd
verified
This commit was signed with the committer's
known signature
.
nel.pet
SSH Key Fingerprint:
SHA256:Zd+mWw4EweOfjYKNMYyVtMSN7oj+SBabmubG4RThVEI=
+14
-1
1 changed file
expand all
collapse all
unified
split
systems
nel-desktop
configuration.nix
+14
-1
systems/nel-desktop/configuration.nix
···
37
37
38
38
services.displayManager.sddm.enable = true;
39
39
services.desktopManager.plasma6.enable = true;
40
40
-
environment.systemPackages = [
40
40
+
environment.systemPackages = with pkgs; [
41
41
(pkgs.writeTextDir "share/sddm/themes/${config.services.displayManager.sddm.theme}/theme.conf.user" ''
42
42
[General]
43
43
background=${./transcoded-wallpaper.jpeg}
44
44
'')
45
45
+
46
46
+
# For mount.cifs, required unless domain name resolution is not needed.
47
47
+
cifs-utils
45
48
];
49
49
+
50
50
+
# TODO: secrets stuff
51
51
+
fileSystems."/mnt/nas" = {
52
52
+
device = "//truenas.lan.nelind.dk/main";
53
53
+
fsType = "cifs";
54
54
+
options = let
55
55
+
# this prevents hanging on network split
56
56
+
automount_opts = "x-systemd.automount,noauto,x-systemd.idle-timeout=60,x-systemd.device-timeout=5s,x-systemd.mount-timeout=5s";
57
57
+
in [ "${automount_opts},credentials=/etc/nixos/nas_secrets" ];
58
58
+
};
46
59
47
60
services.pulseaudio.enable = false;
48
61
security.rtkit.enable = true;