From 533b95b540df38becee9cc92c596ea5666f441be Mon Sep 17 00:00:00 2001 From: alydev Date: Tue, 23 Sep 2025 18:45:25 +1000 Subject: [PATCH] authorized keys --- Justfile | 4 ++-- flake.nix | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) 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" ]; };