diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 20:05:08 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-07-03 20:05:08 +0200 |
commit | 05543a4768f029856e2e0e40382a0c4ac3c9dba6 (patch) | |
tree | b7de415ca87479cf727ad5dae819b693946a42bc /vali.nix | |
parent | b36e5224ecbeb6325cb53dfc59ee7728d28b33d8 (diff) | |
download | nixos-05543a4768f029856e2e0e40382a0c4ac3c9dba6.tar nixos-05543a4768f029856e2e0e40382a0c4ac3c9dba6.tar.gz nixos-05543a4768f029856e2e0e40382a0c4ac3c9dba6.tar.bz2 nixos-05543a4768f029856e2e0e40382a0c4ac3c9dba6.tar.xz nixos-05543a4768f029856e2e0e40382a0c4ac3c9dba6.zip |
Made user config for root@vali more modular
Diffstat (limited to 'vali.nix')
-rw-r--r-- | vali.nix | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -60,7 +60,11 @@ | |||
60 | # services.xserver.displayManager.kdm.enable = true; | 60 | # services.xserver.displayManager.kdm.enable = true; |
61 | # services.xserver.desktopManager.kde4.enable = true; | 61 | # services.xserver.desktopManager.kde4.enable = true; |
62 | 62 | ||
63 | users.extraUsers.root.openssh.authorizedKeys.keyFiles = [ | 63 | let |
64 | users/keys/gkleen-skadhi.pub | 64 | template = (import users/gkleen.nix); |
65 | ]; | 65 | in |
66 | users.extraUsers.root = { | ||
67 | shell = template.shell; | ||
68 | openssh.authorizedKeys.keyFiles = template.openssh.authorizedKeys.keyFiles; | ||
69 | }; | ||
66 | } | 70 | } |