mirror of
https://github.com/divnix/digga.git
synced 2024-12-25 00:55:08 +03:00
ref: make hm common module explicit
This commit is contained in:
parent
b95189d754
commit
26a2423312
@ -7,20 +7,5 @@
|
|||||||
fullHostConfig = config;
|
fullHostConfig = config;
|
||||||
})
|
})
|
||||||
).config.system.build.isoImage;
|
).config.system.build.isoImage;
|
||||||
|
|
||||||
homes = (config.lib.digga.mkBuild
|
|
||||||
({ config, ... }: {
|
|
||||||
home-manager.useUserPackages = lib.mkForce false;
|
|
||||||
home-manager.sharedModules = [
|
|
||||||
{
|
|
||||||
home.sessionVariables = {
|
|
||||||
inherit (config.environment.sessionVariables) NIX_PATH;
|
|
||||||
};
|
|
||||||
xdg.configFile."nix/registry.json".text =
|
|
||||||
config.environment.etc."nix/registry.json".text;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
})
|
|
||||||
).config.home-manager.users;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
11
modules/hm-system-defaults.nix
Normal file
11
modules/hm-system-defaults.nix
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{ config, ... }: {
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
{
|
||||||
|
home.sessionVariables = {
|
||||||
|
inherit (config.environment.sessionVariables) NIX_PATH;
|
||||||
|
};
|
||||||
|
xdg.configFile."nix/registry.json".text =
|
||||||
|
config.environment.etc."nix/registry.json".text;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user