summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-03 17:55:04 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 17:55:04 +0100
commit5418f17bef2bf97d8cf0f0f080db04534d4f1ce6 (patch)
tree8aad3e830c94c1dc507d0afa7ea80c1de817211f /users
parent57431febd78d65b357cf5b11b91b9e6bc1866b50 (diff)
downloadnixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar.gz
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar.bz2
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.tar.xz
nixos-5418f17bef2bf97d8cf0f0f080db04534d4f1ce6.zip
gkleen: enable direnv
Diffstat (limited to 'users')
-rw-r--r--users/gkleen/default.nix2
-rw-r--r--users/root.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/users/gkleen/default.nix b/users/gkleen/default.nix
index 26f7a1d4..d98ad82c 100644
--- a/users/gkleen/default.nix
+++ b/users/gkleen/default.nix
@@ -1,7 +1,7 @@
1{ flake, userName, pkgs, customUtils, lib, ... }: 1{ flake, userName, pkgs, customUtils, lib, ... }:
2{ 2{
3 imports = with flake.nixosModules.userProfiles.${userName}; [ 3 imports = with flake.nixosModules.userProfiles.${userName}; [
4 zsh tmux utils 4 zsh tmux utils direnv
5 ]; 5 ];
6 6
7 users.users.${userName} = { 7 users.users.${userName} = {
diff --git a/users/root.nix b/users/root.nix
index 24a5ae94..be331141 100644
--- a/users/root.nix
+++ b/users/root.nix
@@ -3,7 +3,7 @@ let
3 haveGKleen = flake.nixosModules.accounts ? "gkleen@${hostName}"; 3 haveGKleen = flake.nixosModules.accounts ? "gkleen@${hostName}";
4in { 4in {
5 imports = with flake.nixosModules.userProfiles.${userName}; [ 5 imports = with flake.nixosModules.userProfiles.${userName}; [
6 zsh tmux utils 6 zsh tmux direnv utils
7 ]; 7 ];
8 8
9 users.users.${userName} = lib.mkIf haveGKleen { 9 users.users.${userName} = lib.mkIf haveGKleen {