From 57e8612d0d7a33322552063c5e2c76f7fd271479 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 12 Nov 2023 22:42:51 +0100 Subject: [PATCH] machines/core: migrate allowUnfree to flake config --- machines/configurations.nix | 1 + machines/core/nix.nix | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/machines/configurations.nix b/machines/configurations.nix index c027a2f..cb5135f 100644 --- a/machines/configurations.nix +++ b/machines/configurations.nix @@ -27,6 +27,7 @@ let { imports = [ ({ pkgs, ... }: { + nixpkgs.config.allowUnfree = true; nixpkgs.overlays = [ overlay-unstable (import ../overlays) diff --git a/machines/core/nix.nix b/machines/core/nix.nix index 1d5fea7..90808a3 100644 --- a/machines/core/nix.nix +++ b/machines/core/nix.nix @@ -19,7 +19,6 @@ extraOptions = '' experimental-features = nix-command flakes - warn-dirty = false ''; registry = { @@ -27,7 +26,6 @@ unstable.flake = inputs.nixpkgs-unstable; }; }; - nixpkgs.config.allowUnfree = true; # auto upgrade with own flakes system.autoUpgrade = {