tweak(hm-system-defaults): create nixpkgs/config.nix
This commit is contained in:
parent
22bf3d0131
commit
902ab319aa
1 changed files with 10 additions and 4 deletions
|
@ -12,8 +12,14 @@
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
inherit (config.environment.sessionVariables) NIX_PATH;
|
inherit (config.environment.sessionVariables) NIX_PATH;
|
||||||
};
|
};
|
||||||
xdg = {
|
xdg =
|
||||||
configFile."nix/registry.json".text = config.environment.etc."nix/registry.json".text;
|
{
|
||||||
|
configFile = {
|
||||||
|
"nix/registry.json".text = config.environment.etc."nix/registry.json".text;
|
||||||
|
"nixpkgs/config.nix".text = lib.generators.toPretty { } {
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
home.stateVersion = config.system.stateVersion;
|
home.stateVersion = config.system.stateVersion;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue