more config

This commit is contained in:
kity 2025-08-06 11:44:06 +02:00
parent 7b5b1f4259
commit 7384a1e2a8
3 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,4 @@
{ username }:
{
users.users."${username}" = { };
}

View file

@ -43,6 +43,7 @@ in
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjz5MUSmc1ahtUJWuvzG7PHH432nx6a0Nj2zfxt3oTP geekcat@protonmail.com" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjz5MUSmc1ahtUJWuvzG7PHH432nx6a0Nj2zfxt3oTP geekcat@protonmail.com"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP9Yp7TbDhYJ27Sh+LcPXT569bMVwbFrkE4zksfU84l+ harry123@goober" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP9Yp7TbDhYJ27Sh+LcPXT569bMVwbFrkE4zksfU84l+ harry123@goober"
]; ];
shell = pkgs.zsh;
}; };
security.sudo.wheelNeedsPassword = false; security.sudo.wheelNeedsPassword = false;

View file

@ -25,7 +25,7 @@ let
} }
''; '';
akkoma-overlay = self: super: { akkoma-overlay = self: super: {
akkoma = super.akkkoma.overrideAttrs (old: { akkoma = super.akkoma.overrideAttrs (old: {
postPatch = '' postPatch = ''
cp ${pkgs.writeText "styles.json" styles} $out/priv/static/themes cp ${pkgs.writeText "styles.json" styles} $out/priv/static/themes
cp ${./akkoma/terms-of-services.html} $out/priv/static/terms-of-service.html cp ${./akkoma/terms-of-services.html} $out/priv/static/terms-of-service.html