feat(09-02): wire work-cli flake input and enable module in host config

- Add work-cli path input with nixpkgs follows to flake.nix
- Import modules/work-cli in work host config
- Enable programs.work-cli with gitlab/jira/vault settings (grouped attrset)
- Remove old shell.bash.extraInit completion eval
This commit is contained in:
2026-03-31 12:49:39 +02:00
parent 41c2552cb1
commit 0fac241885
2 changed files with 27 additions and 2 deletions

View File

@@ -46,6 +46,10 @@
url = "github:cachix/git-hooks.nix"; url = "github:cachix/git-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
work-cli = {
url = "path:/home/hektor/test-gsd";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = outputs =
@@ -144,6 +148,7 @@
dotsPath dotsPath
myUtils myUtils
; ;
hasSopsHmModule = false; # TODO: set to true after re-encrypting secrets for work host's age key
}; };
}; };
}; };

View File

@@ -10,9 +10,10 @@ let
in in
{ {
imports = [ imports = [
inputs.sops-nix.homeManagerModules.sops # inputs.sops-nix.homeManagerModules.sops # TODO: re-enable after re-encrypting secrets for this host's age key
../../modules ../../modules
../../modules/ai-tools ../../modules/ai-tools
../../modules/work-cli
../../modules/anki ../../modules/anki
../../modules/browser ../../modules/browser
../../modules/bruno ../../modules/bruno
@@ -30,6 +31,7 @@ in
../../modules/k8s/k9s.nix ../../modules/k8s/k9s.nix
../../modules/keepassxc ../../modules/keepassxc
../../modules/music ../../modules/music
../../modules/networking
../../modules/nodejs ../../modules/nodejs
../../modules/nvim ../../modules/nvim
../../modules/pandoc ../../modules/pandoc
@@ -42,7 +44,7 @@ in
../../modules/vscode ../../modules/vscode
]; ];
sops.age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt"; # sops.age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt"; # TODO: re-enable with sops module
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@@ -75,6 +77,24 @@ in
git.gitlab.enable = true; git.gitlab.enable = true;
secrets.vault.enable = true; secrets.vault.enable = true;
programs.work-cli = {
enable = true;
gitlab = {
url = "https://gitlab.com";
project = "";
group = "";
};
jira = {
enable = true;
url = "";
projectKey = "";
};
vault = {
enable = true;
url = "";
};
};
programs = { programs = {
gh.enable = true; gh.enable = true;
kubecolor.enable = true; kubecolor.enable = true;