all repos — nixfiles @ b923275f93004b5dcd696899790d7af7781e0295

System and user configuration, managed by nix and home-manager

Use same nixpkgs configuration for unstable channel

Alan Pearce
commit

b923275f93004b5dcd696899790d7af7781e0295

parent

334a760e340ac9e57f15afe5c61f21509e7c0fa4

1 file changed, 8 insertions(+), 1 deletion(-)

changed files
M modules/configuration/nix.nixmodules/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} '';