No description
Find a file
Erwin Boskma 0e9f871ed1
Update flake.lock
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/f5f51705d5d8886d2c9aba5e6a19484711175e3f' (2023-01-07)
  → 'github:nix-community/emacs-overlay/070389cdd38008ad49d8097e18817db7cd6ddc2b' (2023-01-09)
• Updated input 'home-manager':
    'github:nix-community/home-manager/9e565f0d9d41c19a94f55af205c328ec5177fc0a' (2023-01-07)
  → 'github:nix-community/home-manager/69806e937881c75269e058daecf49d9c39bd034e' (2023-01-09)
• Updated input 'hyprland':
    'github:Hyprwm/Hyprland/af4b9700b7a1a1b36439dc51334b9aeaadcfcd41' (2023-01-07)
  → 'github:Hyprwm/Hyprland/ff118834829dd0db37e3622480756776b368bd4a' (2023-01-09)
• Updated input 'hyprland/hyprland-protocols':
    'github:hyprwm/hyprland-protocols/d0d6db8cb5bef6d93ca3ad8fb2124964173396da' (2022-12-10)
  → 'github:hyprwm/hyprland-protocols/b8f55e02a328c47ed373133c52483bbfa20a1b75' (2022-12-23)
• Added input 'hyprland/hyprland-protocols/nixpkgs':
    follows 'hyprland/nixpkgs'
• Updated input 'hyprland/xdph':
    'github:hyprwm/xdg-desktop-portal-hyprland/e47f4cec698080768821b271510985ab94a37e91' (2022-12-23)
  → 'github:hyprwm/xdg-desktop-portal-hyprland/d479c846531fd0e1d2357c9588b8310a2b859ef2' (2023-01-07)
• Updated input 'hyprland/xdph/hyprland-protocols':
    'github:hyprwm/hyprland-protocols/d0d6db8cb5bef6d93ca3ad8fb2124964173396da' (2022-12-10)
  → follows 'hyprland/hyprland-protocols'
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/a518c77148585023ff56022f09c4b2c418a51ef5' (2023-01-05)
  → 'github:nixos/nixpkgs/f6f44561884c3470e2b783683d5dbac42dfc833b' (2023-01-07)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/a4548c09eac4afb592ab2614f4a150120b29584c' (2023-01-05)
  → 'github:cachix/pre-commit-hooks.nix/f3b402838c49b0989c07494f6f5db77dfce0ce97' (2023-01-09)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/802ff3314663ec7114f29a6e8b200dfc892023f8' (2023-01-07)
  → 'github:oxalica/rust-overlay/3488cec01351c2f1086b02a3a61808be7a25103e' (2023-01-09)
• Updated input 'sops':
    'github:Mic92/sops-nix/b35586cc5abacd4eba9ead138b53e2a60920f781' (2023-01-01)
  → 'github:Mic92/sops-nix/2253120d2a6147e57bafb5c689e086221df8032f' (2023-01-08)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/feda52be1d59f13b9aa02f064b4f14784b9a06c8' (2022-12-31)
  → 'github:NixOS/nixpkgs/9f11a2df77cb945c115ae2a65f53f38121597d73' (2023-01-07)
2023-01-09 19:33:17 +01:00
home-manager/modules swaylock-effects is causing issues with sway 1.8 2023-01-06 00:14:08 +01:00
machines Switch to wg-quick for WireGuard 2023-01-06 01:10:17 +01:00
modules Move QMK udev rules to package 2023-01-06 01:10:01 +01:00
overlays Add commitgpt package 2022-12-05 11:02:12 +01:00
pkgs Update commitgpt 2022-12-07 20:26:29 +01:00
users Use bandwhich module so the capabilities are set 2023-01-06 00:15:20 +01:00
.envrc Secrets with sops 2021-11-26 22:21:16 +01:00
.gitignore Add terraform stuff to .gitignore 2023-01-06 01:10:48 +01:00
.projectile Update flake.lock, update kernel version 2022-03-23 15:42:32 +01:00
.sops.yaml Add minio stuff 2023-01-06 00:11:11 +01:00
flake.lock Update flake.lock 2023-01-09 19:33:17 +01:00
flake.nix Add minio stuff 2023-01-06 00:11:11 +01:00
krops.nix Add pre-commit hooks and fix style issues 2022-11-19 20:00:54 +01:00
README.org Tweaks 2022-10-05 15:36:12 +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 exa 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