diff --git a/machines.nix b/machines.nix index d089291..d79d693 100644 --- a/machines.nix +++ b/machines.nix @@ -1,4 +1,4 @@ -{config, ...}: { +{ lenovo = { hostname = "lenovo"; system = "x86_64-linux"; @@ -30,7 +30,7 @@ # andromeda@lenovo is the only user allowed access ./modules/nixos/networking/hard-ssh.nix ./modules/nixos/networking/ssh-as-root.nix - {users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda];} + ({config, ...}: {users.users.root.openssh.authorizedKeys.keys = [config.pub-keys.ssh.andromeda];}) # boilerplate settings ./modules/nixos/common.nix