modules.user.chn: fix

This commit is contained in:
2025-01-20 12:03:34 +08:00
parent f45cd7166e
commit 08ff296c81
2 changed files with 2 additions and 4 deletions

View File

@@ -65,7 +65,6 @@ inputs:
value.source = programs.${file}.path;
})
(devices.${inputs.config.nixos.model.hostname} or []));
environment.persistence."/nix/rootfs/current".users.chn.directories =
inputs.lib.mkIf (inputs.config.nixos.model.cluster.nodeType or null != "worker") [ ".config/autostart" ];
environment.persistence."/nix/rootfs/current".users.chn.directories = [ ".config/autostart" ];
};
}

View File

@@ -68,7 +68,6 @@ inputs:
(builtins.readFile "${inputs.pkgs.konsole}/share/konsole/Breeze.colorscheme");
};
environment.persistence."/nix/rootfs/current".users.chn.directories =
inputs.lib.mkIf (inputs.config.nixos.model.cluster.nodeType or null != "worker")
[ ".local/share/konsole" ".local/share/yakuake" ];
[ ".local/share/konsole" ".local/share/yakuake" ];
};
}