mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
users/foo-dogsquared: fix conditional for NixOS-enabled parts
This commit is contained in:
parent
666912d615
commit
126755c8b1
@ -124,9 +124,9 @@ in
|
|||||||
"$XDG_MUSIC_DIR|Music"
|
"$XDG_MUSIC_DIR|Music"
|
||||||
"~/library/music|Library"
|
"~/library/music|Library"
|
||||||
]
|
]
|
||||||
++ lib.optional (attrs?nixosConfig.suites.filesystem.setups.external-hdd.enable)
|
++ lib.optional (attrs.nixosConfig.suites.filesystem.setups.external-hdd.enable or false)
|
||||||
"/mnt/external-storage/Music|External storage"
|
"/mnt/external-storage/Music|External storage"
|
||||||
++ lib.optional (attrs?nixosConfig.suites.filesystem.setups.archive.enable)
|
++ lib.optional (attrs.nixosConfig.suites.filesystem.setups.archive.enable or false)
|
||||||
"/mnt/archives/Music|Archive";
|
"/mnt/archives/Music|Archive";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user