From 320f194acd371b401168d0c9aa399918c682c8de Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Sat, 22 Mar 2025 21:13:18 -0400 Subject: foo --- modules/global.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'modules/global.nix') 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 [ -- cgit v1.2.3