aboutsummaryrefslogtreecommitdiff
path: root/home-manager/i3/i3-commands.nix
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-10-17 14:59:30 +1300
committerDylan <boss@tehbox.org>2026-10-17 14:59:30 +1300
commitf29c5c4337febe2dc015d61f5c36b4c129e7f565 (patch)
tree3d3ca9c5a7caf037adba35e955bdfd234f742533 /home-manager/i3/i3-commands.nix
parent5af14f29f3ac99374d332f333a0a877415c09848 (diff)
downloadnixos-configuration-f29c5c4337febe2dc015d61f5c36b4c129e7f565.tar.gz
nixos-configuration-f29c5c4337febe2dc015d61f5c36b4c129e7f565.zip
feat: Lots of changes
Diffstat (limited to 'home-manager/i3/i3-commands.nix')
-rw-r--r--home-manager/i3/i3-commands.nix18
1 files changed, 11 insertions, 7 deletions
diff --git a/home-manager/i3/i3-commands.nix b/home-manager/i3/i3-commands.nix
index 9b8705d..68cf7b6 100644
--- a/home-manager/i3/i3-commands.nix
+++ b/home-manager/i3/i3-commands.nix
@@ -1,16 +1,20 @@
{
- stdenv
+ stdenv,
+ lib
}:
stdenv.mkDerivation {
pname = "i3-commands";
version = "0.0.1";
- srcs = builtins.path { name = "scripts"; path = ./scripts/.; };
+ srcs = lib.cleanSourceWith {
+ src = ./scripts;
+ filter = path: type: baseNameOf path != "rofi-passmenu";
+ };
installPhase = ''
-runHook preInstall
-mkdir -p $out/bin
-install -D -m 755 ./* $out/bin
-runHook postInstall
-'';
+ runHook preInstall
+ mkdir -p $out/bin
+ install -D -m 755 ./* $out/bin
+ runHook postInstall
+ '';
}