diff --git a/hosts/adrastea/configuration.nix b/hosts/adrastea/configuration.nix index fbb534c..3a75540 100755 --- a/hosts/adrastea/configuration.nix +++ b/hosts/adrastea/configuration.nix @@ -149,10 +149,6 @@ "root" "youwen" ]; - experimental-features = [ - "nix-command" - "flakes" - ]; }; services.udev.extraRules = '' diff --git a/hosts/callisto/configuration.nix b/hosts/callisto/configuration.nix index a6b95e8..2708f7b 100755 --- a/hosts/callisto/configuration.nix +++ b/hosts/callisto/configuration.nix @@ -111,10 +111,6 @@ "root" "youwen" ]; - experimental-features = [ - "nix-command" - "flakes" - ]; }; services.udev.extraRules = '' diff --git a/hosts/demeter/configuration.nix b/hosts/demeter/configuration.nix index dece5a1..ee9af72 100755 --- a/hosts/demeter/configuration.nix +++ b/hosts/demeter/configuration.nix @@ -132,10 +132,6 @@ "root" "youwen" ]; - experimental-features = [ - "nix-command" - "flakes" - ]; }; services.udev.extraRules = '' diff --git a/modules/linux/core/default.nix b/modules/linux/core/default.nix index 1e7ea9d..5de3c26 100644 --- a/modules/linux/core/default.nix +++ b/modules/linux/core/default.nix @@ -22,4 +22,11 @@ }; services.gnome.gnome-keyring.enable = true; + + nix = { + settings.experimental-features = [ + "nix-command" + "flakes" + ]; + }; }