mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-07 02:44:08 +09:00
fix
This commit is contained in:
@@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
vicinae.url = "github:vicinaehq/vicinae";
|
vicinae.url = "github:vicinaehq/vicinae";
|
||||||
ghostty.url = "github:ghostty-org/ghostty";
|
ghostty.url = "github:ghostty-org/ghostty";
|
||||||
auth-keys-hub.url = "github:input-output-hk/auth-keys-hub";
|
|
||||||
|
|
||||||
quickshell = {
|
quickshell = {
|
||||||
url = "github:outfoxxed/quickshell";
|
url = "github:outfoxxed/quickshell";
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
{ inputs, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
|
||||||
inputs.auth-keys-hub.nixosModules.auth-keys-hub
|
|
||||||
];
|
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
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
|
if [ ! -f "$key" ]; then
|
||||||
umask 077
|
umask 077
|
||||||
mkdir -p "$HOME/.ssh"
|
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"
|
echo "Generated SSH key at $key"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user