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

• Updated input 'disko':
    'github:nix-community/disko/325e1f7f2e0eea44c27e5e8a3946c2461ec095f2' (2023-10-16)
  → 'github:nix-community/disko/a3283f0e5cba07dc1f6795a6ee71bf3a23b3fc53' (2023-10-23)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/82b81829dd689bbc397ead6615c1f1f212acb80d' (2023-10-18)
  → 'github:nix-community/emacs-overlay/c7f417665786766e56d773f4d5ba4e6bc4998744' (2023-10-23)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/898cb2064b6e98b8c5499f37e81adbdf2925f7c5' (2023-10-13)
  → 'github:NixOS/nixpkgs/5550a85a087c04ddcace7f892b0bdc9d8bb080c8' (2023-10-21)
• Updated input 'home-manager':
    'github:nix-community/home-manager/05649393ac1f34980a5cf6a6e89de77626c9182b' (2023-10-18)
  → 'github:nix-community/home-manager/219d268a69512ff520fe8da1739ac22d95d52355' (2023-10-22)
• Updated input 'microvm':
    'github:astro/microvm.nix/08f6052918b559ed5c7d1145d94a9a0c53b147a2' (2023-10-16)
  → 'github:astro/microvm.nix/cd3a9cd0fcd30b55b9950ddcaec2d5271c0b78df' (2023-10-18)
• Updated input 'naersk':
    'github:nix-community/naersk/3f976d822b7b37fc6fb8e6f157c2dd05e7e94e89' (2023-09-07)
  → 'github:nix-community/naersk/636a9b5dd7f2ad7d7c3af929ecf95e4d4fab9e97' (2023-10-18)
• Updated input 'nil':
    'github:oxalica/nil/73eeaa64d847f9db42e6d4f7bc80ca04011933a5' (2023-10-16)
  → 'github:oxalica/nil/bd93024db616a528473a7210d2756c7118155de9' (2023-10-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/fb6af288f6cf0f00d3af60cf9d5110433b954565' (2023-10-12)
  → 'github:NixOS/nixos-hardware/72d53d51704295f1645d20384cd13aecc182f624' (2023-10-19)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/ca012a02bf8327be9e488546faecae5e05d7d749' (2023-10-16)
  → 'github:nixos/nixpkgs/7c9cc5a6e5d38010801741ac830a3f8fd667a7a0' (2023-10-19)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/42e1b6095ef80a51f79595d9951eb38e91c4e6ca' (2023-10-09)
  → 'github:cachix/pre-commit-hooks.nix/8cc349bfd082da8782b989cad2158c9ad5bd70fd' (2023-10-19)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/a2ccfb2134622b28668a274e403ba6f075ae1223' (2023-10-18)
  → 'github:oxalica/rust-overlay/a3e829c06eadf848f13d109c7648570ce37ebccd' (2023-10-22)
• Updated input 'sops':
    'github:Mic92/sops-nix/51186b8012068c417dac7c31fb12861726577898' (2023-10-15)
  → 'github:Mic92/sops-nix/30a0ba4a20703b4bfe047fe5def1fc24978e322c' (2023-10-22)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/0e1cff585c1a85aeab059d3109f66134a8f76935' (2023-10-15)
  → 'github:NixOS/nixpkgs/fb000224952bf7749a9e8b3779104ef7ea4465c8' (2023-10-21)
2023-10-23 08:12:03 +02:00
home-manager/modules swaync: Disable 2FA actions in notifications 2023-10-23 08:11:14 +02:00
lib Initial refactoring 2023-10-14 16:55:13 +02:00
machines heimdall: Allow caddy to get certificates 2023-10-23 08:10:12 +02:00
modules keycloak: Fix IP filter for admin interface 2023-10-23 08:09:38 +02:00
overlays Remove commitgpt 2023-05-22 10:27:21 +02:00
pkgs Initial transfer to sway on work PC (#2) 2023-09-29 11:52:45 +02:00
users Tweak kanata config 2023-10-14 16:56:18 +02:00
wallpapers Add Space Shuttle Endeavour wallpaper 2023-10-05 15:02:14 +02:00
.envrc Load .env file 2023-04-24 08:25:18 +02:00
.gitignore Add emacs desktop file to .gitignore 2023-09-11 20:19:13 +02:00
.projectile Update flake.lock, update kernel version 2022-03-23 15:42:32 +01:00
.sops.yaml Use caddy as proxy in place of nginx-proxy-manager 2023-08-10 16:43:46 +02:00
flake.lock flake.lock: Update 2023-10-23 08:12:03 +02:00
flake.nix Configure colmena for remote deployments 2023-10-19 08:35:03 +02:00
Justfile Justfile: add update task 2023-10-09 14:35:02 +02:00
krops.nix Add pre-commit hooks and fix style issues 2022-11-19 20:00:54 +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