mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 06:08:11 +09:00
fix
This commit is contained in:
@@ -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 +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" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user