aboutsummaryrefslogtreecommitdiff
path: root/modules/global.nix
diff options
context:
space:
mode:
authorStefan Weigl-Bosker <stefan@s00.xyz>2025-03-22 21:13:18 -0400
committerStefan Weigl-Bosker <stefan@s00.xyz>2025-03-22 21:13:18 -0400
commit320f194acd371b401168d0c9aa399918c682c8de (patch)
tree75070a5fcc7ff6c20f7bcc03994c5291bfbb6cca /modules/global.nix
parent11631fbc5db8954aa5108a371dbf924ef3094141 (diff)
downloadhome-320f194acd371b401168d0c9aa399918c682c8de.tar.gz
foo
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
[