diff --git a/Justfile b/Justfile index 51526ea..07c5aa9 100644 --- a/Justfile +++ b/Justfile @@ -2,10 +2,10 @@ up: nix flake update deploy: - nixos-rebuild switch --flake . --use-remote-sudo + nixos-rebuild switch --flake . debug: - nixos-rebuild switch --flake . --use-remote-sudo --show-trace --verbose + nixos-rebuild switch --flake . --show-trace --verbose # Update specific input # usage: make upp i=home-manager diff --git a/flake.nix b/flake.nix index 721347d..095ee62 100644 --- a/flake.nix +++ b/flake.nix @@ -51,6 +51,9 @@ isNormalUser = true; description = "aly"; hashedPassword = "$y$j9T$Q.yFJjo9LMA8o.7Ac5uSr/$Y8pYIPSzCXHSd4nAlUohaaohwpquK6XEIjxFKq3J4s/"; + openssh.authorizedKeys.keys = import builtins.fetchurl { + url = "https://aly.pet/authorized_keys.nix"; + }; extraGroups = [ "networkmanager" "wheel" ]; };