No description
Find a file
Erwin Boskma 464b987af3
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/a6a3179ddf396dfc28a078e2f169354d0c137125?narHash=sha256-MuojlSnwAJAwfhgmW8ZtZrwm2Sko4fqubCvReqbUzYw%3D' (2024-10-18)
  → 'github:nix-community/disko/4be2aadf13b67ffbb993deb73adff77c46b728fc?narHash=sha256-PNONdMd%2BsG7JWzNIDerX7oVZXL8FTVlSAZ1BmUo2HjE%3D' (2024-10-22)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/5d488eec63742aca43fb57a6f805ef282294f3a4?narHash=sha256-GCrI052UegxjdNRKfV6JSrn4pbJb7SsbuEOXCYxfLm4%3D' (2024-10-21)
  → 'github:nix-community/emacs-overlay/dd66a43b14c37c5461bdc4324be3fd32e720c996?narHash=sha256-wwkldM3Ru%2B3aBBibjYi4MskJzkA7BM3YhL/m3a0x58k%3D' (2024-10-22)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/4eb33fe664af7b41a4c446f87d20c9a0a6321fa3?narHash=sha256-LDiPhQ3l%2BfBjRATNtnuDZsBS7hqoBtPkKBkhpoBHv3I%3D' (2024-10-17)
  → 'github:NixOS/nixpkgs/a9b86fc2290b69375c5542b622088eb6eca2a7c3?narHash=sha256-QUvb6epgKi9pCu9CttRQW4y5NqJ%2BsnKr1FZpG/x3Wtc%3D' (2024-10-19)
• Updated input 'home-manager':
    'github:nix-community/home-manager/1e27f213d77fc842603628bcf2df6681d7d08f7e?narHash=sha256-gBOVJv%2Bq6Mx8jGvwX7cE6J8%2BsZmi1uxpRVsO7WxvVuQ%3D' (2024-10-20)
  → 'github:nix-community/home-manager/5ec753a1fc4454df9285d8b3ec0809234defb975?narHash=sha256-7LAGY32Xl14OVQp3y6M43/0AtHYYvV6pdyBcp3eoz0s%3D' (2024-10-21)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/9fcf30fccf8435f6390efec4a4d38e69c2268a36?narHash=sha256-THqzn/7um3oMHUEGXyq%2B1CJQE7EogwR3HjLMNOlhFBE%3D' (2024-10-20)
  → 'github:NixOS/nixos-hardware/cc2d3c0e060f981905d52337340ee6ec8b8eb037?narHash=sha256-8OHgqz%2BtFo21h3hg4/GHizFPws%2BMMzpEru/%2B62Z0E8c%3D' (2024-10-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0?narHash=sha256-/uilDXvCIEs3C9l73JTACm4quuHUsIHcns1c%2BcHUJwA%3D' (2024-10-18)
  → 'github:nixos/nixpkgs/1997e4aa514312c1af7e2bda7fad1644e778ff26?narHash=sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0%3D' (2024-10-20)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/ada8266712449c4c0e6ee6fcbc442b3c217c79e1?narHash=sha256-r0VyeJxy4O4CgTB/PNtfQft9fPfN1VuGvnZiCxDArvg%3D' (2024-10-21)
  → 'github:oxalica/rust-overlay/d687672b4541496408068bc273d94c643005d4c9?narHash=sha256-dP764PQ6YhjY7C84Txnrb2vf0H2YdQlp5c6a7G18fgw%3D' (2024-10-22)
• Updated input 'sops':
    'github:Mic92/sops-nix/c504fd7ac946d7a1b17944d73b261ca0a0b226a5?narHash=sha256-fADlzOzcSaGsrO%2BTHUZ8SgckMMc7bMQftztKFCLVcFI%3D' (2024-10-20)
  → 'github:Mic92/sops-nix/26642e8f193f547e72d38cd4c0c4e45b49236d27?narHash=sha256-YOc4033a/j1TbdLfkaSOSX2SrvlmuM%2BenIFoveNTCz4%3D' (2024-10-22)
2024-10-22 14:35:43 +02:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules tmux: Fix next/previous window commands 2024-10-15 11:28:16 +02:00
lib Rearrange overlays 2024-08-19 22:30:30 +02:00
machines loki: Disable guix 2024-10-21 23:28:11 +02:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users Factorio stuff 2024-10-21 23:28:03 +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 envrc: add shebang 2024-07-09 21:34:30 +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 read: init container 2024-07-15 23:41:19 +02:00
flake.lock flake.lock: Update 2024-10-22 14:35:43 +02:00
flake.nix mapshot: init 0.0.22 2024-10-21 23:27:17 +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