Remove impermanence home-manager module
Too many bugs to deal with unfortunately. Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -9,11 +9,14 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
userConfig = config.users.users.${username};
|
||||
hmConfig = config.home-manager.users.${username};
|
||||
themeBin = lib.meta.getExe hmConfig.theme.pkg;
|
||||
in
|
||||
{
|
||||
environment.persistence."/persist".users.${username}.directories = [
|
||||
"${hmConfig.xdg.relativeConfigHome}/theme"
|
||||
];
|
||||
|
||||
home-manager.users.${username} = {
|
||||
imports = [ ./options.nix ];
|
||||
|
||||
@@ -23,9 +26,5 @@ in
|
||||
"Ctrl_Alt, r, exec, ${themeBin}"
|
||||
"Ctrl_Alt, t, exec, ${themeBin} toggle"
|
||||
];
|
||||
|
||||
home.persistence."/persist${userConfig.home}".directories = [
|
||||
"${hmConfig.xdg.relativeConfigHome}/theme"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user