homemanager: fix passthrough of options
This commit is contained in:
parent
8b78c651b6
commit
9d1f799c01
6 changed files with 18 additions and 49 deletions
|
@ -20,15 +20,15 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
${namespace}.home.extraOptions = {
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
home.file = mkAliasDefinitions options.${namespace}.home.file;
|
||||
xdg.enable = true;
|
||||
xdg.configFile = mkAliasDefinitions options.${namespace}.home.configFile;
|
||||
};
|
||||
|
||||
snowfallorg.users.${config.${namespace}.user.name}.home.config =
|
||||
config.${namespace}.home.extraOptions;
|
||||
snowfallorg.users.${config.${namespace}.user.name}.home.config = mkMerge [
|
||||
{
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
home.file = mkAliasDefinitions options.${namespace}.home.file;
|
||||
xdg.enable = true;
|
||||
xdg.configFile = mkAliasDefinitions options.${namespace}.home.configFile;
|
||||
}
|
||||
config.${namespace}.home.extraOptions
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
useUserPackages = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue