aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-05-22 23:33:19 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-05-22 23:33:19 -0400
commit0caba5ff2e023770bf34a0154af768cbc410f4c6 (patch)
tree99bd6bc09957a0f417c587fc4570f9e2a97fae59
parent56ee024b1f37549b7025e9fe762c1f280f31df42 (diff)
downloadhome-0caba5ff2e023770bf34a0154af768cbc410f4c6.tar.gz
`modules/zoxide`: init
-rw-r--r--modules/default.nix1
-rw-r--r--modules/zoxide.nix24
2 files changed, 25 insertions, 0 deletions
diff --git a/modules/default.nix b/modules/default.nix
index 502413b..72849ae 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -20,5 +20,6 @@
./pass
./colors
./zathura.nix
+ ./zoxide.nix
];
}
diff --git a/modules/zoxide.nix b/modules/zoxide.nix
new file mode 100644
index 0000000..f86a725
--- /dev/null
+++ b/modules/zoxide.nix
@@ -0,0 +1,24 @@
+{ config, lib, pkgs, ... }:
+let
+ cfg = config.modules.zoxide;
+
+ inherit (lib) mkEnableOption mkOption mkIf types;
+in
+{
+ options.modules.zoxide = {
+ enable = mkOption {
+ type = types.bool;
+ default = true;
+ description = "enable zoxide";
+ };
+ };
+
+ config = mkIf cfg.enable {
+ programs.zoxide = {
+ enable = true;
+ enableZshIntegration = true;
+ # options = [
+ # ];
+ };
+ };
+}