No description
Find a file
Erwin Boskma 94b61c842b
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/09a776702b004fdf9c41a024e1299d575ee18a7d?narHash=sha256-a%2BAakkb%2BamHw4biOZ0iMo8xYl37uUL48YEXIC5PYJ/8%3D' (2024-10-23)
  → 'github:nix-community/disko/58cd832497f9c87cb4889744b86aba4284fd0474?narHash=sha256-xzt7tb4YUw6VZXSCGw4sukirJSfYsIcFyvmhK5KMiKw%3D' (2024-10-26)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/8585c0d7f7b5efa704112bbfc6310cebacb94e69?narHash=sha256-a5CwSoNGyQAyg13i%2BWfvVREUouoBKYeqsAZAnxfqeuQ%3D' (2024-10-25)
  → 'github:nix-community/emacs-overlay/7f86b977ad3e397c8cf37be53a6578ec5cd109c7?narHash=sha256-nJ1V%2BEFn5OYoAdcIQpO9AT8UZjulFXYBmBSblIZoH9U%3D' (2024-10-26)
• Updated input 'home-manager':
    'github:nix-community/home-manager/c77c3bb23390a9ba91860e721edde54856fc5f7a?narHash=sha256-1uGIPOSJq4IzoDvgfOF6A3sw5it1WX3ZdYl2%2BjCkjv8%3D' (2024-10-25)
  → 'github:nix-community/home-manager/93435d27d250fa986bfec6b2ff263161ff8288cb?narHash=sha256-nL9nzNE5/re/P%2BzOv7NX6bRm5e%2BDeS1HIufQUJ01w20%3D' (2024-10-25)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/7e52e80f5faa374ad4c607d62c6d362589cb523f?narHash=sha256-RiinJqorqSLKh1oSpiMHnBe6nQdJzE45lX6fSnAuDnI%3D' (2024-10-25)
  → 'github:oxalica/rust-overlay/17cadbc36da05e75197d082decb382a5f4208e30?narHash=sha256-eXqxxbOagphPfjPptSlv0pQONB3fH15CQ4G8uCu1BW4%3D' (2024-10-26)
• Updated input 'sops':
    'github:Mic92/sops-nix/78a0e634fc8981d6b564f08b6715c69a755c4c7d?narHash=sha256-J2vtHq9sw1wWm0aTMXpEEAzsVCUMZDTEe5kiBYccpLE%3D' (2024-10-24)
  → 'github:Mic92/sops-nix/b2211d1a537136cc1d0d5c0af391e8712016b34e?narHash=sha256-3tjYImjVzsSM4sU%2BwTySF94Yop1spI/XomMBEpljKvQ%3D' (2024-10-26)
2024-10-26 19:27:47 +02: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 neo: Remove 'container' tag 2024-10-24 14:51:48 +02:00
modules barman: set HOME to barman home dir 2024-10-17 08:34:50 +02:00
overlays factorio: Update to 2.0.9 2024-10-24 13:49:48 +02:00
pkgs mapshot: init 0.0.22 2024-10-21 23:27:17 +02:00
users nix-cache: attic module is now in nixpkgs 2024-10-24 14:05:17 +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-26 19:27:47 +02: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