mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
feat[client]: add nix-your-shell
This commit is contained in:
parent
ca684173ac
commit
5c7ae68078
2 changed files with 31 additions and 0 deletions
|
|
@ -11767,6 +11767,24 @@ nix-index provides a way to find out which packages are provided by which deriva
|
|||
}
|
||||
#+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
|
||||
:PROPERTIES:
|
||||
:CUSTOM_ID: h:ac0e5e62-0dbf-4782-9a96-9e558eae86ae
|
||||
|
|
|
|||
13
modules/home/common/nix-your-shell.nix
Normal file
13
modules/home/common/nix-your-shell.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue