only generate ed25516 key for host

This commit is contained in:
TheWanderingCrow 2025-04-29 14:43:38 -04:00
parent 84e02b408f
commit 586f330608
4 changed files with 13 additions and 1 deletions

View file

@ -31,4 +31,8 @@
enable = true;
addNetworkInterface = false;
};
environment.systemPackages = [
pkgs.antimicrox
];
}

View file

@ -8,4 +8,6 @@
./audio.nix
./graphics.nix
];
hardware.uinput.enable = true;
}

View file

@ -5,5 +5,11 @@
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;
};
hostKeys = [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
};
}

View file

@ -7,7 +7,7 @@
users.users.crow = lib.mkIf config.user.crow.enable {
isNormalUser = true;
hashedPassword = "$y$j9T$wDC7wMJxCLNvdf8L8s6jZ.$U06F381x07fzu.updEsoegiWtbFvsrRJ7DLN9gR7un0";
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout"];
extraGroups = ["wheel" "networkmanager" "audio" "plugdev" "dialout" "input" "uinput"];
openssh.authorizedKeys.keyFiles = [
inputs.nix-secrets.keys.default
];