From 5c7ae6807829357e6fdc716546227be058fb8670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Schwarz=C3=A4ugl?= Date: Sat, 11 Oct 2025 23:18:51 +0200 Subject: [PATCH] feat[client]: add nix-your-shell --- SwarselSystems.org | 18 ++++++++++++++++++ modules/home/common/nix-your-shell.nix | 13 +++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 modules/home/common/nix-your-shell.nix diff --git a/SwarselSystems.org b/SwarselSystems.org index 7300ceb..060e41b 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -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 diff --git a/modules/home/common/nix-your-shell.nix b/modules/home/common/nix-your-shell.nix new file mode 100644 index 0000000..1ad63cb --- /dev/null +++ b/modules/home/common/nix-your-shell.nix @@ -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; + }; + }; +}