No description
Find a file
Erwin Boskma 8cd57eef49
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/c09c3a9639690f94ddff44c3dd25c85602e5aeb2?narHash=sha256-aXlifKr6Brg0SBUBgRNEBaZf3JLUeGhM9BX2gam%2Bvvo%3D' (2024-03-18)
  → 'github:nix-community/disko/e9875b969086a53dff5ec4677575ad3156fc875d?narHash=sha256-kFzpfZcInLhBFWHy452NlvFuzNr0BDEkz3w9Sgg2ypo%3D' (2024-03-20)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/ddc0d1e406566b0389f4e7f25d4b6aa59f98114e?narHash=sha256-G4sFKirxi49JaYi90Aq5Lo0jVSCJfYwYVTPhIt8zBT8%3D' (2024-03-18)
  → 'github:nix-community/emacs-overlay/a9216f7a1ec216e36e31c7d2ed42de4df89d918a?narHash=sha256-IbidJZykfjyGZ9totyhUIPHcDSqW1B3Pepgo3c9tDHI%3D' (2024-03-20)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3?narHash=sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84%3D' (2024-03-17)
  → 'github:NixOS/nixpkgs/fa9f817df522ac294016af3d40ccff82f5fd3a63?narHash=sha256-RLvwdQSENKOaLdKhNie8XqHmTXzNm00/M/THj6zplQo%3D' (2024-03-19)
• Updated input 'eww':
    'github:elkowar/eww/4ce42455a4744b0dc00dd356ba9b32c1ca558a0e?narHash=sha256-M1MCbKXTI/Z7eWRi9jweloyUTIOMpqN33h5X6hOgeKU%3D' (2024-03-16)
  → 'github:elkowar/eww/f1ec00a1c9a24c0738fb5d5ac309d6af16e67415?narHash=sha256-O4zGpwaXhnD%2B01zTn6cQZDgU3HagGt4DBPpQyDbD6fk%3D' (2024-03-20)
• Updated input 'home-manager':
    'github:nix-community/home-manager/7b3fca5adcf6c709874a8f2e0c364fe9c58db989?narHash=sha256-eZCxuF58YWgaJMMRrn8oRkwRhxooe5kBS/s2wRVr9PA%3D' (2024-03-17)
  → 'github:nix-community/home-manager/022464438a85450abb23d93b91aa82e0addd71fb?narHash=sha256-2bNMraoRB4pdw/HtxgYTFeMhEekBZeQ53/a8xkqpbZc%3D' (2024-03-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/968952f950a59dee9ed1e8799dda38c6dfa1bad3?narHash=sha256-6zR642tXcZzzk3C8BHxlCrR0yh8z8zMXLiuXpWDIpX0%3D' (2024-03-16)
  → 'github:NixOS/nixos-hardware/1e679b9a9970780cd5d4dfe755a74a8f96d33388?narHash=sha256-eIsfu3c9JUBgm3cURSKTXLEI9Dlk1azo%2BMWKZVqrmkc%3D' (2024-03-18)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c75037bbf9093a2acb617804ee46320d6d1fea5a?narHash=sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM%3D' (2024-03-16)
  → 'github:nixos/nixpkgs/b06025f1533a1e07b6db3e75151caa155d1c7eb3?narHash=sha256-qrxvLS888pNJFwJdK%2Bhf1wpRCSQcqA6W5%2BOx202NDa0%3D' (2024-03-19)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431?narHash=sha256-M%2BNg6%2BSePmA8g06CmUZWi1AjG2tFBX9WCXElBHEKnyM%3D' (2024-02-15)
  → 'github:cachix/pre-commit-hooks.nix/e611897ddfdde3ed3eaac4758635d7177ff78673?narHash=sha256-6hOpUiuxuwpXXc/xfJsBUJeqqgGI%2BJMJuLo45aG3cKc%3D' (2024-03-20)
• Updated input 'pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5?narHash=sha256-gGPa9qWNc6eCXT/%2BZ5/zMkyYOuRZqeFZBDbopNZQkuY%3D' (2023-12-29)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394?narHash=sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs%3D' (2024-02-28)
• Updated input 'pre-commit-hooks/nixpkgs-stable':
    'github:NixOS/nixpkgs/3dc440faeee9e889fe2d1b4d25ad0f430d449356?narHash=sha256-YWuCrtsty5vVZvu%2B7BchAxmcYzTMfolSPP5io8%2BWYCg%3D' (2024-01-10)
  → 'github:NixOS/nixpkgs/614b4613980a522ba49f0d194531beddbb7220d3?narHash=sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84%3D' (2024-03-17)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a1b17cacfa7a6ed18f553a195a047f4e73e95da9?narHash=sha256-Ulsx%2Bt4SnRmjMJx4eF2Li%2B3rBGYhZp0XNShVjIheCfg%3D' (2024-03-18)
  → 'github:oxalica/rust-overlay/549f4db17b5c0c143b1308fcfe9620129c387472?narHash=sha256-PcHmHQvKIOdvAxlqxZ/DPmUMhUUvfp16pRtyW148u/0%3D' (2024-03-20)
2024-03-20 18:34:44 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules theming: catppuccin all over the place 2024-03-20 18:33:33 +01:00
lib firefox: Enable extra stuff 2024-02-28 23:54:56 +01:00
machines kea: Add routers DHCP option 2024-03-17 09:28:22 +01:00
modules caddy: Use correct HTTP status code 2024-03-14 10:06:53 +01:00
overlays Add gitu 2024-03-11 17:49:47 +01:00
pkgs Add gitu 2024-03-11 17:49:47 +01:00
users theming: catppuccin all over the place 2024-03-20 18:33:33 +01:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.dir-locals.el Add .dir-locals.el 2024-02-29 14:25:26 +01: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 Clean up sops file 2024-02-29 14:25:29 +01:00
flake.lock flake.lock: Update 2024-03-20 18:34:44 +01:00
flake.nix Get colmena from flake 2024-03-16 22:38:29 +01:00
Justfile Update deploy task to use colmena, add deploy-cold 2024-03-14 09:24:40 +01:00
krops.nix Run nixfmt 2024-02-05 11:46:52 +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