From d2a6f860a27d9acee6396e2b98653b03c1abd2ac Mon Sep 17 00:00:00 2001 From: Root Date: Wed, 3 Mar 2021 18:54:14 +0000 Subject: [PATCH] updated root config --- config/hosts/plato.nix | 5 ----- home-manager/root.nix | 13 ++++++++----- 2 files changed, 8 insertions(+), 10 deletions(-) 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" + ]; }