feat[client]: add nix-your-shell

This commit is contained in:
Leon Schwarzäugl 2025-10-11 23:18:51 +02:00
parent ca684173ac
commit 5c7ae68078
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 31 additions and 0 deletions

View file

@ -11767,6 +11767,24 @@ nix-index provides a way to find out which packages are provided by which deriva
} }
#+end_src #+end_src
**** nix-your-shell
#+begin_src nix-ts :tangle modules/home/common/nix-your-shell.nix
{ lib, config, ... }:
let
moduleName = "nix-your-shell";
in
{
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
config = lib.mkIf config.swarselmodules.${moduleName} {
programs.${moduleName} = {
enable = true;
enableZshIntegration = true;
};
};
}
#+end_src
**** password-store **** password-store
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h:ac0e5e62-0dbf-4782-9a96-9e558eae86ae :CUSTOM_ID: h:ac0e5e62-0dbf-4782-9a96-9e558eae86ae

View file

@ -0,0 +1,13 @@
{ lib, config, ... }:
let
moduleName = "nix-your-shell";
in
{
options.swarselmodules.${moduleName} = lib.mkEnableOption "enable ${moduleName} and settings";
config = lib.mkIf config.swarselmodules.${moduleName} {
programs.${moduleName} = {
enable = true;
enableZshIntegration = true;
};
};
}