add typhon, enable zsh autocomplete

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2025-03-26 01:31:46 -04:00
parent 98b8ee7777
commit 32781a7290
5 changed files with 67 additions and 1 deletions

View File

@ -3,5 +3,6 @@
users = [ "alice" ];
modules = [
# inputs.attic.nixosModules.atticd
inputs.typhon.nixosModules.default
];
}

View File

@ -0,0 +1,17 @@
{ config, ... }:
let
vars = import ../vars.nix;
typhon_path = vars.primary_typhon;
in
{
services.typhon = {
enable = true;
hashedPasswordFile = config.sops.secrets."typhon/hashedPassword".path;
home = typhon_path;
};
sops.secrets = {
"typhon/hashedPassword".owner = "root";
};
}