Misc small stuff

This commit is contained in:
Geoffrey Frogeye 2025-12-06 23:50:57 +01:00
parent ce4f3724ee
commit 1d697a0367
2 changed files with 6 additions and 9 deletions

View file

@ -58,9 +58,9 @@
wget = "wget --hsts-file ${config.xdg.cacheHome}/wget-hsts";
# Imported from scripts
rms = ''${pkgs.findutils}/bin/find . -name "*.sync-conflict-*" -delete''; # Remove syncthing conflict files
newestFile = ''${pkgs.findutils}/bin/find -type f -printf '%T+ %p\n' | sort | tail'';
oldestFile = ''${pkgs.findutils}/bin/find -type f -printf '%T+ %p\n' | sort | head'';
rms = ''find . -name "*.sync-conflict-*" -delete''; # Remove syncthing conflict files
newestFile = ''find -type f -printf '%T+ %p\n' | sort | tail'';
oldestFile = ''find -type f -printf '%T+ %p\n' | sort | head'';
};
tealdeer.enable = true;
lsd = {
@ -183,6 +183,7 @@
which
file
cached-nix-shell # For scripts
findutils
# Pipe utils
gnugrep

View file

@ -70,12 +70,6 @@
programs = {
adb.enable = true;
# Enable compilation cache
ccache.enable = true;
# TODO Not enough, see https://nixos.wiki/wiki/CCache.
# Might want to see if it's worth using on NixOS
less.lessopen = null; # Don't use lessopen
# Let users mount disks
udevil.enable = true;
};
@ -95,6 +89,8 @@
udev.extraRules = ''
# DYMO LabelPOINT 350
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0922", ATTRS{idProduct}=="0015", MODE="0666"
# Seiko Epson Corp. Interface Card UB-U05 for Thermal Receipt Printers [M129C/TM-T70/TM-T88IV]
ACTION=="add", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}=="0202", MODE="0664", GROUP="dialout"
'';
};