From b5043ef5261d195cab2148b5b0bfbfe1717e9835 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Fri, 21 Feb 2025 12:18:34 +0100 Subject: [PATCH] Move nix settings to global config --- hosts/common/global/default.nix | 4 ++++ hosts/sol/configuration.nix | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts/common/global/default.nix b/hosts/common/global/default.nix index a60c412..26161fd 100644 --- a/hosts/common/global/default.nix +++ b/hosts/common/global/default.nix @@ -4,4 +4,8 @@ ./locale.nix ./keyboard.nix ]; + + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nixpkgs.config.allowUnfree = true; + } \ No newline at end of file diff --git a/hosts/sol/configuration.nix b/hosts/sol/configuration.nix index b77debe..6ea7174 100644 --- a/hosts/sol/configuration.nix +++ b/hosts/sol/configuration.nix @@ -11,8 +11,6 @@ ../common/global ]; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; - # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -93,9 +91,6 @@ programs.direnv.enable = true; services.emacs.enable = true; - # Allow unfree packages - nixpkgs.config.allowUnfree = true; - # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = [ -- 2.47.2