diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2023-09-04 22:27:22 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2023-09-04 22:27:22 -0600 |
| commit | a933e77443bfa3d918b6e04339464d4ae41f86b2 (patch) | |
| tree | 071fb42eebdf547e7343a9a8cf41b490b33e4601 /modules | |
| parent | 42c3986ed796e6825e8cd8a864da004c50eed6f3 (diff) | |
moved an env config to configs
enabled users for nix
generated new hardware config to hopefully prevent emergency mode
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/environment.nix | 2 | ||||
| -rw-r--r-- | modules/user-profiles/defin.nix | 2 | ||||
| -rw-r--r-- | modules/user-profiles/root.nix | 2 |
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" ]; } |
