diff --git a/flake.lock b/flake.lock index ac61a63..67afa62 100644 --- a/flake.lock +++ b/flake.lock @@ -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": [ diff --git a/flake.nix b/flake.nix index dd49709..1f7851c 100644 --- a/flake.nix +++ b/flake.nix @@ -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 = { diff --git a/systems/palatine-hill/default.nix b/systems/palatine-hill/default.nix index d469ee0..72ac4f7 100644 --- a/systems/palatine-hill/default.nix +++ b/systems/palatine-hill/default.nix @@ -3,5 +3,6 @@ users = [ "alice" ]; modules = [ # inputs.attic.nixosModules.atticd + inputs.typhon.nixosModules.default ]; } diff --git a/systems/palatine-hill/typhon.nix b/systems/palatine-hill/typhon.nix new file mode 100644 index 0000000..161ffdd --- /dev/null +++ b/systems/palatine-hill/typhon.nix @@ -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"; + }; +} diff --git a/users/alice/home/zsh.nix b/users/alice/home/zsh.nix index 7caf892..c75399d 100644 --- a/users/alice/home/zsh.nix +++ b/users/alice/home/zsh.nix @@ -4,7 +4,7 @@ programs.zsh = { enable = true; - # autosuggestion.enable = true; + autosuggestion.enable = true; oh-my-zsh = { enable = true; plugins = [