From c83f567708a179c10b1243c01b9b4ded9b2af43c Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 17 Jun 2024 11:27:00 -0400 Subject: [PATCH] phone: Mimic system nix settings for now Should eventually replace this with the system module. --- phone/configuration.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/phone/configuration.nix b/phone/configuration.nix index f9eda25a..6eb7d7b4 100644 --- a/phone/configuration.nix +++ b/phone/configuration.nix @@ -250,9 +250,21 @@ in }; }; + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" "repl-flake" ]; + auto-optimise-store = true; + warn-dirty = false; + + trusted-users = [ + "root" + "@wheel" + ]; + }; + }; + powerManagement.enable = true; zramSwap.enable = true; - nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ]; system = { inherit stateVersion;