No description
Find a file
Erwin Boskma 969d0c5fb2
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/380847d94ff0fedee8b50ee4baddb162c06678df?narHash=sha256-Mhqz3p/HEiI/zxBJWO57LYQf6gGlJB0tci6fiVXLjd8%3D' (2024-11-03)
  → 'github:nix-community/disko/856a2902156ba304efebd4c1096dbf7465569454?narHash=sha256-sdY29RWz0S7VbaoTwSy6RummdHKf0wUTaBlqPxrtvmQ%3D' (2024-11-04)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/3cbb531951b8abd4413ebc04a4e06d214de3cf04?narHash=sha256-JsaxXQEI76Lq6c5KVAzcAvNox0qEzJfC5%2BbYZqtySCk%3D' (2024-11-04)
  → 'github:nix-community/emacs-overlay/3a071974344ba47573382596d91bd7a94beeac20?narHash=sha256-UJ1D89beMdNVdsOIvhMrQkjNQrxK3dJX2YVC6zWJUgw%3D' (2024-11-05)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/080166c15633801df010977d9d7474b4a6c549d7?narHash=sha256-xKel5kd1AbExymxoIfQ7pgcX6hjw9jCgbiBjiUfSVJ8%3D' (2024-10-30)
  → 'github:NixOS/nixpkgs/d063c1dd113c91ab27959ba540c0d9753409edf3?narHash=sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo%3D' (2024-11-04)
• Updated input 'nixos-facter-modules':
    'github:numtide/nixos-facter-modules/15b6531d44aa6f0bbd2fd8309cd2a6d7f183ba32?narHash=sha256-AzP%2BtrH/ykBJGTx3twkpuwbkhFSmsY1PJDQtRmK4k4c%3D' (2024-10-27)
  → 'github:numtide/nixos-facter-modules/c22b916f629fee6941a2976c62247b0bec68082b?narHash=sha256-PzJrTMhHb9f46uMxmRD4GjnyVuNqxeyEvxaq7OierUQ%3D' (2024-11-04)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/41814763a2c597755b0755dbe3e721367a5e420f?narHash=sha256-xQVadjquBA/tFxDt5A55LJ1D1AvkVWsnrKC2o%2Bpr8F4%3D' (2024-11-04)
  → 'github:oxalica/rust-overlay/e19e9d54fac1e53f73411ebe22d19f946b1ba0bd?narHash=sha256-pULo7GryzLkqGveWvnNWVz1Kk6EJqvq%2BHQeSkwvr7DA%3D' (2024-11-05)
• Updated input 'sops':
    'github:Mic92/sops-nix/e9b5eef9b51cdf966c76143e13a9476725b2f760?narHash=sha256-1NveNAMLHbxOg0BpBMSVuZ2yW2PpDnZLbZ25wV50PMc%3D' (2024-11-03)
  → 'github:Mic92/sops-nix/59d6988329626132eaf107761643f55eb979eef1?narHash=sha256-ZGmI%2B3AbT8NkDdBQujF%2BHIxZ%2BsWXuyT6X8B49etWY2g%3D' (2024-11-04)
2024-11-05 09:49:28 +01:00
.forgejo/workflows Add Forgejo workflow to check flake 2024-01-25 12:42:14 +01:00
home-manager/modules Update Hyprland config 2024-10-26 19:26:06 +02:00
lib nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +02:00
machines valkyrie(coredns): Add factorio hostname to dns 2024-11-04 13:18:59 +01:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays Add override for pyscard due to build failure 2024-11-04 13:18:31 +01:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users loki: Disable wayvnc due to build error 2024-11-04 13:17:09 +01: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-11-05 09:49:28 +01:00
flake.nix nix-cache: attic module is now in nixpkgs 2024-10-24 14:05: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