summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-02 17:57:48 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-02 17:57:48 +0200
commita3a0f839087209c9c003f88a1d06f3fe903c4689 (patch)
treec33dac0d175e0ba31f28ef0fca434e827c32e32f
parent3d402e0216b2f741277fe66ac03ed62b0d649d7c (diff)
downloadnixos-a3a0f839087209c9c003f88a1d06f3fe903c4689.tar
nixos-a3a0f839087209c9c003f88a1d06f3fe903c4689.tar.gz
nixos-a3a0f839087209c9c003f88a1d06f3fe903c4689.tar.bz2
nixos-a3a0f839087209c9c003f88a1d06f3fe903c4689.tar.xz
nixos-a3a0f839087209c9c003f88a1d06f3fe903c4689.zip
copied config for root from vali
-rw-r--r--bragi.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/bragi.nix b/bragi.nix
index 5661894b..0691bcdb 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -225,4 +225,11 @@ in {
225 services.chrony = { 225 services.chrony = {
226 enable = true; 226 enable = true;
227 }; 227 };
228
229 users.extraUsers.root = let
230 template = (import users/gkleen.nix);
231 in {
232 inherit (template) shell;
233 openssh.authorizedKeys.keyFiles = template.openssh.authorizedKeys.keyFiles;
234 };
228} 235}