mirror of
https://github.com/deltathetawastaken/dotfiles.git
synced 2025-12-06 07:16:37 +03:00
19 lines
383 B
Nix
19 lines
383 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
# Helper function to create script binaries
|
|
mkScriptBin = name: pkgs.writeScriptBin name (builtins.readFile ./${name}.sh);
|
|
|
|
# List of script names
|
|
scriptNames = [
|
|
"fzfclipboard"
|
|
"fzfmenuft"
|
|
"swaylock"
|
|
];
|
|
|
|
# Generate the script binaries
|
|
scriptBins = map mkScriptBin scriptNames;
|
|
|
|
in {
|
|
users.users.delta.packages = scriptBins;
|
|
}
|