Better nix flake configuration

This commit is contained in:
Filippo Berto 2022-10-04 14:44:56 +02:00
parent 4627af9181
commit 4fca5c8cb1
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
6 changed files with 22 additions and 48 deletions

View file

@ -401,11 +401,6 @@ with lib; {
'';
nixpkgs.config.allowUnfree = true;
nix = {
package = pkgs.nixFlakes;
extraOptions = optionalString (config.nix.package == pkgs.nixFlakes)
"experimental-features = nix-command flakes";
};
system.autoUpgrade = {
enable = true;