No description
Find a file
Erwin Boskma 169881a34e
flake.lock: Update
Flake lock file updates:

• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/44cd01cff6f778fed1fdef78e54972c81f0986f1?narHash=sha256-VJaTtUZArFFhDCTYIfrB9SF%2BtcnlrhELNJpKzpvYPqw%3D' (2024-07-04)
  → 'github:nix-community/emacs-overlay/e2e8c7303eafd8d3657e06c28be7b3b74c7024e6?narHash=sha256-L9MdoPyHWW31rFG172XjnXIIwvMB3nhjvWqQxacsCq0%3D' (2024-07-05)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/28f8f3531ebdbea069995c20bd946a295699f275?narHash=sha256-sTya/Vhqtdi7Kxx/eVldJRGTPKcyGgFG3ZugOqcbmiE%3D' (2024-07-01)
  → 'github:NixOS/nixpkgs/7144d6241f02d171d25fba3edeaf15e0f2592105?narHash=sha256-gvFhEf5nszouwLAkT9nWsDzocUTqLWHuL%2B%2BdvNjMp9I%3D' (2024-07-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0a30138c694ab3b048ac300794c2eb599dc40266?narHash=sha256-lmE7B%2BQXw7lWdBu5GQlUABSpzPk3YBb9VbV%2BIYK5djk%3D' (2024-07-03)
  → 'github:nix-community/home-manager/bbe6e94737289c8cb92d4d8f9199fbfe4f11c0ba?narHash=sha256-K9JYdlPiyaXp33JRg7CT8rMwH56e4ncXSsXW/YKnNXc%3D' (2024-07-05)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/00d80d13810dbfea8ab4ed1009b09100cca86ba8?narHash=sha256-H3%2BEC5cYuq%2BgQW8y0lSrrDZfH71LB4DAf%2BTDFyvwCNA%3D' (2024-07-01)
  → 'github:nixos/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6?narHash=sha256-rwz8NJZV%2B387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ%3D' (2024-07-03)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/8deeed2dfa21837c7792b46b6a9b2e73f97b472b?narHash=sha256-h/O3PoV3KvQG4tC5UpANBZOsptAZCzEGiwyi%2B3oSpYc%3D' (2024-07-04)
  → 'github:oxalica/rust-overlay/5ad2d5884b9b16319c9c5ca4e80a5b8606b083ae?narHash=sha256-mNO3vfM43%2Bw4Bp%2BzMC8Dkf4ktLpYYRpk9tAOp4iumio%3D' (2024-07-05)
2024-07-05 11:40:43 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules emacs: Set catppuccin flavor before loading the theme 2024-07-05 11:39:45 +02:00
lib Remove unused input 2024-04-24 14:46:49 +02:00
machines valkyrie(coredns): Make coredns output less 2024-07-04 15:07:10 +02:00
modules keycloak: Update plugins 2024-06-27 15:22:13 +02:00
overlays valkyrie(coredns): Stop using coredns-tailscale due to issues 2024-07-03 15:49:22 +02:00
pkgs dnspyre: init at 3.3.1 2024-07-03 11:29:57 +02:00
users home: add doggo DNS client 2024-07-03 11:30:12 +02:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el dir-locals: Revert back to nixfmt 2024-04-23 16:30:56 +02:00
.envrc Load .env file 2023-04-24 08:25:18 +02:00
.gitattributes Mark flake.lock as binary for merge conflicts 2024-01-23 13:40:29 +01:00
.gitignore Remove terraform stuff 2024-01-09 22:25:14 +01:00
.projectile Update flake.lock, update kernel version 2022-03-23 15:42:32 +01:00
.sops.yaml meili: init 2024-06-04 10:34:30 +02:00
flake.lock flake.lock: Update 2024-07-05 11:40:43 +02:00
flake.nix dnspyre: init at 3.3.1 2024-07-03 11:29:57 +02:00
Justfile Add task to Justfile to build package 2024-03-28 16:10:02 +01:00
README.org Replace exa with eza, because the former is unmaintained 2023-09-11 20:11:08 +02:00
statix.toml Add pre-commit hooks and fix style issues 2022-11-19 20:00:54 +01:00

Erwin's NixOS config

This configures my machines.

Useful oneliners

Remove all files except the smallest

$ ls -s size | head -n 1 | xargs stat -c %s | awk '{print $1 + 1}' | xargs -I '%S' fd -S +%Sb -X rm {} \;
cmd Explanation
ls -s size List all files, sort by size (ls is aliased to eza in my setup)
head -n 1 Take the first line
xargs stat -c %s Print the size in bytes
awk '{print $1 + 1} Add one to it
xargs -I '%S' fd -S +%Sb -X rm {} \; Find all files larger than the smallest and delete them