diff --git a/hm/common.nix b/hm/common.nix index 7bc08e5..9cd1771 100644 --- a/hm/common.nix +++ b/hm/common.nix @@ -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 diff --git a/os/common.nix b/os/common.nix index e5a487c..2000c5f 100644 --- a/os/common.nix +++ b/os/common.nix @@ -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" ''; };