{ pkgs, ... }: let clean-hm = pkgs.writeScriptBin "clean-hm" "${builtins.readFile ./scripts/clean-hm.sh}"; btrfs-backup = pkgs.writeScriptBin "btrfs-backup" "${builtins.readFile ./scripts/btrfs-backup.sh}"; in { environment.systemPackages = [ clean-hm btrfs-backup ]; }