From 05543a4768f029856e2e0e40382a0c4ac3c9dba6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jul 2015 20:05:08 +0200 Subject: Made user config for root@vali more modular --- vali.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vali.nix b/vali.nix index d0d1d751..067e5acc 100644 --- a/vali.nix +++ b/vali.nix @@ -60,7 +60,11 @@ # services.xserver.displayManager.kdm.enable = true; # services.xserver.desktopManager.kde4.enable = true; - users.extraUsers.root.openssh.authorizedKeys.keyFiles = [ - users/keys/gkleen-skadhi.pub - ]; + let + template = (import users/gkleen.nix); + in + users.extraUsers.root = { + shell = template.shell; + openssh.authorizedKeys.keyFiles = template.openssh.authorizedKeys.keyFiles; + }; } -- cgit v1.2.3