wrap agenix, server changes
This commit is contained in:
parent
c548d24239
commit
b4cc4eab4d
6 changed files with 14 additions and 6 deletions
|
@ -1,10 +1,8 @@
|
|||
{
|
||||
dirUtils,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = [inputs.agenix.packages.x86_64-linux.default];
|
||||
age = {
|
||||
identityPaths = [
|
||||
"/home/quadradical/.ssh/id_ed25519"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
fd
|
||||
glib
|
||||
tldr
|
||||
killall
|
||||
ripgrep
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
{
|
||||
users.users.quadradical.openssh.authorizedKeys.keys = import ../../secrets/keys.nix;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
knownHosts.quadraticpc.publicKeyFile = builtins.fetchurl {
|
||||
url = "https://github.com/Henry-Hiles.keys";
|
||||
sha256 = "1k73c228rgzq7ymf5vaj6wfqzkqm6yzq5lq0syb7mzbrvngvr2jc";
|
||||
};
|
||||
settings = {
|
||||
PasswordAuthentication = true; # TODO: False
|
||||
AllowUsers = ["quadradical"];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue