summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/environment.nix2
-rw-r--r--modules/user-profiles/defin.nix2
-rw-r--r--modules/user-profiles/root.nix2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/environment.nix b/modules/environment.nix
index 07bef00..6842a8c 100644
--- a/modules/environment.nix
+++ b/modules/environment.nix
@@ -1,7 +1,7 @@
{ config, lib, ... }: {
environment = {
# include user channels in NIX_PATH
- shellInit = ''export NIXPATH="/nix/var/nix/profiles/per-user/$USER/channels:nixos-config=/etc/nixos/machines/zenbook/configuration.nix"'';
+ # shellInit = ''export NIXPATH="/nix/var/nix/profiles/per-user/$USER/channels:nixos-config=/etc/nixos/machines/zenbook/configuration.nix"'';
# List packages installed in system profile. To search, run:
# $ nix search wget
variables = {
diff --git a/modules/user-profiles/defin.nix b/modules/user-profiles/defin.nix
index 86152f6..36b3cbc 100644
--- a/modules/user-profiles/defin.nix
+++ b/modules/user-profiles/defin.nix
@@ -21,5 +21,5 @@
};
# Allow to run nix
- nix.settings.allowed-users = [ "defin" "root" ];
+ nix.settings.allowed-users = [ "defin" ];
} \ No newline at end of file
diff --git a/modules/user-profiles/root.nix b/modules/user-profiles/root.nix
index ea299c0..89f905c 100644
--- a/modules/user-profiles/root.nix
+++ b/modules/user-profiles/root.nix
@@ -16,5 +16,5 @@
};
# Allow to run nix
- # nix.settings.allowed-users = [ "root" ];
+ nix.settings.allowed-users = [ "root" ];
}