mirror of
https://github.com/nmasur/dotfiles
synced 2025-01-30 04:42:04 +00:00
attempt to fix home-manager standalone (not working)
This commit is contained in:
parent
a4b5e05f8f
commit
df9cbc4fb3
@ -194,7 +194,18 @@
|
|||||||
nixpkgs.config.permittedInsecurePackages = config.insecurePackages;
|
nixpkgs.config.permittedInsecurePackages = config.insecurePackages;
|
||||||
|
|
||||||
# Pin a state version to prevent warnings
|
# Pin a state version to prevent warnings
|
||||||
home-manager.users.${config.user}.home.stateVersion = stateVersion;
|
|
||||||
home-manager.users.root.home.stateVersion = stateVersion;
|
home-manager.users.root.home.stateVersion = stateVersion;
|
||||||
|
|
||||||
|
# Fix for running home-manager against the repo directly
|
||||||
|
# See: https://github.com/nix-community/home-manager/issues/2033
|
||||||
|
home-manager.users.${config.user} = {
|
||||||
|
home.stateVersion = stateVersion;
|
||||||
|
news = {
|
||||||
|
display = "silent";
|
||||||
|
entries = lib.mkForce [ ];
|
||||||
|
json = lib.mkForce { "output" = { }; };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user