1

Modules/Niri: Update DMS config

This commit is contained in:
2026-02-17 11:45:36 +01:00
parent abdcbe2ce9
commit a2153c4418
2 changed files with 379 additions and 209 deletions

View File

@ -298,10 +298,8 @@ in {
unitConfig.DefaultDependencies = "no";
serviceConfig.Type = "oneshot";
# NOTE: If any single line of this script fails
# the entire system might be bricked.
# NixOS automatically sets "-e", so if unlucky,
# the subvolumes won'e exist for mounting...
# NOTE: If any single line of this script fails the entire system might be bricked.
# NixOS automatically sets "-e", so if unlucky, the subvolumes won'e exist for mounting...
script = let
mvSubvolToPersist = subvol: ''
if [[ -e ${mountDir}/${subvol} ]]; then