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,10 +12,16 @@
|
|||
home.sessionVariables = {
|
||||
inherit (config.environment.sessionVariables) NIX_PATH;
|
||||
};
|
||||
xdg = {
|
||||
configFile."nix/registry.json".text = config.environment.etc."nix/registry.json".text;
|
||||
enable = true;
|
||||
};
|
||||
xdg =
|
||||
{
|
||||
configFile = {
|
||||
"nix/registry.json".text = config.environment.etc."nix/registry.json".text;
|
||||
"nixpkgs/config.nix".text = lib.generators.toPretty { } {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
enable = true;
|
||||
};
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
}
|
||||
(lib.mkIf config.services.xserver.enable {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue