Use same nixpkgs configuration for unstable channel
1 file changed, 8 insertions(+), 1 deletion(-)
changed files
M modules/configuration/nix.nix → modules/configuration/nix.nix
@@ -13,11 +13,18 @@ options = "--delete-older-than 30d"; }; }; + nixpkgs.config = { + packageOverrides = pkgs: { + unstable = import <nixos-unstable> { + config = config.nixpkgs.config; + }; + }; + }; + system.autoUpgrade = { enable = true; }; systemd.services.nixos-upgrade = { - environment.NIXPKGS_ALLOW_UNFREE = "1"; script = '' ${config.system.build.nixos-rebuild}/bin/nixos-rebuild boot ${toString config.system.autoUpgrade.flags} '';