From d43f9b776e68f6abd96b7715154a16f8b1f7ae16 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Tue, 16 Jul 2024 21:46:49 -0700 Subject: [PATCH] feat: enable nix auto run --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 4eee9ff..7f8e293 100755 --- a/configuration.nix +++ b/configuration.nix @@ -145,7 +145,11 @@ (pkgs.catppuccin-sddm.override { flavor = "mocha"; }) steam-run ]; - environment.variables.EDITOR = "nvim"; + + environment.variables = { + EDITOR = "nvim"; + NIX_AUTO_RUN = 1; + }; # Some programs need SUID wrappers, can be configured further or are # started in user sessions.