add typhon, enable zsh autocomplete

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2025-03-26 01:31:46 -04:00
parent 98b8ee7777
commit 32781a7290
No known key found for this signature in database
GPG Key ID: 47940175096C1330
5 changed files with 67 additions and 1 deletions

40
flake.lock generated
View File

@ -67,6 +67,21 @@
"type": "github"
}
},
"crane": {
"locked": {
"lastModified": 1727316705,
"narHash": "sha256-/mumx8AQ5xFuCJqxCIOFCHTVlxHkMT21idpbgbm/TIE=",
"owner": "ipetkov",
"repo": "crane",
"rev": "5b03654ce046b5167e7b0bccbd8244cb56c16f0e",
"type": "github"
},
"original": {
"owner": "ipetkov",
"repo": "crane",
"type": "github"
}
},
"firefox-addons": {
"inputs": {
"flake-utils": [
@ -552,6 +567,7 @@
"sops-nix": "sops-nix",
"stylix": "stylix",
"systems": "systems_2",
"typhon": "typhon",
"wired-notify": "wired-notify"
}
},
@ -770,6 +786,30 @@
"type": "github"
}
},
"typhon": {
"inputs": {
"crane": "crane",
"flake-compat": [
"flake-compat"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1730373693,
"narHash": "sha256-pDoaV+a3CBmvhYKD/m8k5soQ4kxwzvv2Kh/y7QHCGyU=",
"owner": "typhon-ci",
"repo": "typhon",
"rev": "e4f11b3d7c47c3a584fe565637bcc6e50f3735da",
"type": "github"
},
"original": {
"owner": "typhon-ci",
"repo": "typhon",
"type": "github"
}
},
"wired-notify": {
"inputs": {
"flake-parts": [

View File

@ -112,6 +112,14 @@
};
};
typhon = {
url = "github:typhon-ci/typhon";
inputs = {
flake-compat.follows = "flake-compat";
nixpkgs.follows = "nixpkgs";
};
};
wired-notify = {
url = "github:Toqozz/wired-notify";
inputs = {

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";
};
}

View File

@ -4,7 +4,7 @@
programs.zsh = {
enable = true;
# autosuggestion.enable = true;
autosuggestion.enable = true;
oh-my-zsh = {
enable = true;
plugins = [