mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
13 lines
320 B
Nix
13 lines
320 B
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;
|
|
};
|
|
};
|
|
}
|