This commit is contained in:
2025-10-31 22:56:27 +09:00
parent a457670d25
commit 5cfacfb168
3 changed files with 2 additions and 10 deletions
-1
View File
@@ -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";
+1 -8
View File
@@ -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" ];
};
}
+1 -1
View File
@@ -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
'';