scripts.nix (201B)
1 { lib, ... }: 2 3 # Library functions for writing scripts 4 5 { 6 createScriptFile = name: source: { 7 target = ".local/scripts/${name}"; 8 text = builtins.readFile source; 9 executable = true; 10 }; 11 }
nix-configMy personal nixos and home-manager configuration | |
Log | Files | Refs | README |