diff --git a/flake.nix b/flake.nix index 243a94a..a99b0d2 100644 --- a/flake.nix +++ b/flake.nix @@ -13,7 +13,6 @@ vicinae.url = "github:vicinaehq/vicinae"; ghostty.url = "github:ghostty-org/ghostty"; - auth-keys-hub.url = "github:input-output-hk/auth-keys-hub"; quickshell = { url = "github:outfoxxed/quickshell"; diff --git a/modules/core/ssh.nix b/modules/core/ssh.nix index 7204a5d..8a2a383 100644 --- a/modules/core/ssh.nix +++ b/modules/core/ssh.nix @@ -1,8 +1,5 @@ -{ inputs, pkgs, ... }: +{ pkgs, ... }: { - imports = [ - inputs.auth-keys-hub.nixosModules.auth-keys-hub - ]; services.openssh = { enable = true; @@ -15,8 +12,4 @@ }; }; - programs.auth-keys-hub = { - enable = true; - github.users = [ "moons-14:moons" ]; - }; } diff --git a/modules/home/ssh.nix b/modules/home/ssh.nix index 6c89093..6cfaf48 100644 --- a/modules/home/ssh.nix +++ b/modules/home/ssh.nix @@ -8,7 +8,7 @@ if [ ! -f "$key" ]; then umask 077 mkdir -p "$HOME/.ssh" - ssh-keygen -t ed25519 -N "" -f "$key" -C "${config.home.username}@$(hostnamectl --static 2>/dev/null || echo host)" + ssh-keygen -t ed25519 -N "" -f "$key" -C "moons@$(hostnamectl --static 2>/dev/null || echo host)" echo "Generated SSH key at $key" fi '';