diff --git a/system/default.nix b/system/default.nix index cc55de6b..52f6ccd5 100644 --- a/system/default.nix +++ b/system/default.nix @@ -27,5 +27,9 @@ users = { mutableUsers = false; + users.root = { + openssh.authorizedKeys.keys = me.keys; + passwordFile = me.pw-file; + }; }; } diff --git a/system/modules/standalone/admin.nix b/system/modules/standalone/admin.nix index 106ee24f..d05380c3 100644 --- a/system/modules/standalone/admin.nix +++ b/system/modules/standalone/admin.nix @@ -13,9 +13,5 @@ in { openssh.authorizedKeys.keys = me.keys; passwordFile = me.pw-file; }; - root = { - openssh.authorizedKeys.keys = me.keys; - passwordFile = me.pw-file; - }; }; }