diff --git a/config/hosts/plato.nix b/config/hosts/plato.nix index ba3709d..d0dc36c 100644 --- a/config/hosts/plato.nix +++ b/config/hosts/plato.nix @@ -21,11 +21,6 @@ with lib; { Defaults lecture = never ''; - systemd.tmpfiles.rules = [ - "L /root/.ssh/id_rsa - - - - /state/root/ssh/id_rsa" - "L /root/.ssh/id_rsa.pub - - - - /state/root/ssh/id_rsa.pub" - ]; - services = { openssh = { hostKeys = [ diff --git a/home-manager/root.nix b/home-manager/root.nix index 85253a7..faf770a 100644 --- a/home-manager/root.nix +++ b/home-manager/root.nix @@ -11,11 +11,7 @@ in { userName = name; userEmail = email; ignores = [ "*~" ]; - extraConfig = { - pull = { - rebase = false; - }; - }; + extraConfig = { pull = { rebase = false; }; }; }; }; @@ -42,4 +38,11 @@ in { HISTCONTROL = "ignoredups:ignorespace"; }; }; + + systemd.user.tmpfiles.rules = [ + "L /root/.gnupg - - - - /state/root/gnupg" + "L /root/.emacs.d - - - - /state/root/emacs.d" + "L /root/.ssh/id_rsa - - - - /state/root/ssh/id_rsa" + "L /root/.ssh/id_rsa.pub - - - - /state/root/ssh/id_rsa.pub" + ]; }