machines/core: migrate allowUnfree to flake config

This commit is contained in:
Felix Buehler 2023-11-12 22:42:51 +01:00
parent c82d8feee1
commit 57e8612d0d
2 changed files with 1 additions and 2 deletions

View file

@ -27,6 +27,7 @@ let
{ {
imports = [ imports = [
({ pkgs, ... }: { ({ pkgs, ... }: {
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ nixpkgs.overlays = [
overlay-unstable overlay-unstable
(import ../overlays) (import ../overlays)

View file

@ -19,7 +19,6 @@
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
warn-dirty = false
''; '';
registry = { registry = {
@ -27,7 +26,6 @@
unstable.flake = inputs.nixpkgs-unstable; unstable.flake = inputs.nixpkgs-unstable;
}; };
}; };
nixpkgs.config.allowUnfree = true;
# auto upgrade with own flakes # auto upgrade with own flakes
system.autoUpgrade = { system.autoUpgrade = {