diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-03-22 08:55:24 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-03-22 08:55:24 -0400 |
commit | ed6e40d5505354625cf5469d9b7b613a3e0f976c (patch) | |
tree | b8c826e92059e553005dced9cca0123a92a1fa37 /modules | |
parent | 08f0f7e98deda925d07f140f99b78e879dd03187 (diff) |
Add root ssh access
Diffstat (limited to 'modules')
-rw-r--r-- | modules/common.nix | 2 | ||||
-rw-r--r-- | modules/users.nix | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/common.nix b/modules/common.nix index e7e2816..b05463a 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -8,6 +8,8 @@ keycloak = pkgs.callPackage ../pkgs/keycloak/default.nix { }; }; + users.users.root.openssh.authorizedKeys.keys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCgvHMjYQ5Ty7Em2Seji6dvYhgQUIbyhiHdzRINYpiOUMuVA8wgJOV0ZggmFFTO5zfJ83m7E5nc/zMuBVHwkx1gJz5ic8YdO9eLIhymQn9R+9fyLA+g+h8uwTi7UlFmQp+My7MYYxdA2tet1wwgm39Yu49mxi8lARUgi4awXn5K/ZFy08GyjGia2E/YKx2gXPKhHsWFKWPO5u8ik0v8AFCliY2wXiG4jkZE2zI0gI5FUp66tpxkaOSZqreH+lVJw+S+GAJIqzGI99zqZsAdpr7m4WALZEYwj9D7/lattSG14CAjXxjqcMSsfi6fV0ZsF1O40eoZ9mNQpIvatXtL6HBSN3kuUfraQMeB8o5kbxwyXt2Fr5hMKtEGYlMv5uPqdn+yHcC51F3RkUxFJplOFwZ3Rh/AjLLMKo+vEtL9UjhTuYiSQ0ySunY5JbBVkJY4z3pLT9MOPnq+KIfBMFBI/eYE6yeMNTHxIFMDaNMFOxWc0SoBDhgZJX5eblYidt/YWMOEPbqJNCrWIzQwtDsiYsF9JS/3D5civwTP/oaASaiJWTAvluwbibMFAC1OSBFb20xM5gD0C1q05pxVMN3Ioy1P0CIvJMLWfQR1yrNbnmoGUGHeSA/gwaxqMg7G+P/SBIheDAYEu5fzXXgFgO3sI8JvIdc1NTJMmHktahb/ecG1MQ== cardno:000605483586"]; + networking.networkmanager.unmanaged = [ "interface-name:wg*" ]; # TODO: replace with programs.neovim.enable diff --git a/modules/users.nix b/modules/users.nix index 3b4e8ed..1f8d6ad 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -13,7 +13,6 @@ in { description = "KJ"; extraGroups = ["wheel" "networkmanager" "dialout" "uucp" "audio" "plugdev" "lxd" "readonly" "input" "vboxusers" "video" "sound" "tty" ]; openssh.authorizedKeys.keyFiles = [ - ../data/pincer_rsa.pub ../data/yubikey_rsa.pub ]; }; |