summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2024-10-17 18:28:11 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2024-10-17 18:28:11 +0200
commitd38de746b272956888de6360f3a1818cd212a109 (patch)
tree665089a4da72eb74b8195c87127a657f23828e4b /common
parentfde8ea13c0b0bbda827782ba9ffb326f821d0f85 (diff)
fix scripts fetching
Diffstat (limited to 'common')
-rw-r--r--common/home/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/home/default.nix b/common/home/default.nix
index ba35f9a..6635105 100644
--- a/common/home/default.nix
+++ b/common/home/default.nix
@@ -7,8 +7,8 @@
}:
let
dirfilter = import ../../utils/dirfilter.nix { inherit lib; };
-scripts = map (n: pkgs.writeShellScriptBin n (builtins.readFile ./scripts/${n}))
- (dirfilter { path = ./scripts; suffix = ""; type = "regular"; });
+scripts = map (n: builtins.trace n (pkgs.writeShellScriptBin n (builtins.readFile ./scripts/${n})))
+ (dirfilter { path = ./scripts; });
programs = dirfilter { path = ./programs; type = "directory"; };
services = dirfilter { path = ./services; type = "directory"; };
packages = [
@@ -62,7 +62,7 @@ packages = [
wayland.windowManager.hyprland = import ./hyprland;
- home.packages = packages;
+ home.packages = packages ++ scripts;
home.pointerCursor = {
gtk.enable = true;