aboutsummaryrefslogtreecommitdiff
path: root/modules/global.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/global.nix')
-rw-r--r--modules/global.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/global.nix b/modules/global.nix
index 8146fbe..4fe183c 100644
--- a/modules/global.nix
+++ b/modules/global.nix
@@ -18,6 +18,17 @@ in
example = [ pkgs.cowsay pkgs.lolcat ];
default = [];
};
+ menu = mkOption {
+ type = lib.types.submodule {
+ package = lib.types.package;
+ dmenu = lib.mkOption {
+ type = lib.types.pathInStore;
+ description = "derivation that will behave like dmenu";
+ example = pkgs.dmenu;
+ default = pkgs.tofi;
+ };
+ };
+ };
};
config = {
@@ -68,11 +79,17 @@ in
stateVersion = "24.11";
shell.enableZshIntegration = true;
+ sessionPath = [
+ "$HOME/.local/opt/binaryninja/bin"
+ "$HOME/scripts"
+ ];
+
packages = with pkgs; [
nerd-fonts.comic-shanns-mono
eza
ripgrep
lean4
+ dmenu
] ++ (lib.optional cfg.notNixOS nixgl.auto.nixGLDefault)
++ (lib.optionals cfg.wayland
[