No description
Find a file
Erwin Boskma 0fd19dd3dd
Update flake.lock
• Updated input 'disko':
    'github:nix-community/disko/4d9c89abde7ccedf743a01119d41fb880793bcba' (2023-03-30)
  → 'github:nix-community/disko/8891df70294ed9b8c930954f555391c4ba9bfe82' (2023-04-06)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/8d3390e69f6f850f33e7b70d2c7a4b83c5f69871' (2023-04-05)
  → 'github:nix-community/emacs-overlay/d092f0b653985d6cb1d7c828ff2ac602a36b7e4e' (2023-04-07)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/93a2b84fc4b70d9e089d029deacc3583435c2ed6' (2023-03-15)
  → 'github:numtide/flake-utils/411e8764155aa9354dbcd6d5faaeb97e9e3dce24' (2023-04-06)
• Updated input 'microvm':
    'github:astro/microvm.nix/f968ea83bdc542fd5e81e4bb1d726986098095b1' (2023-04-02)
  → 'github:astro/microvm.nix/d05d2b2e5ae938184efba4be575ef2d7bdf1ee5b' (2023-04-05)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/a6aa8174fa61e55bd7e62d35464d3092aefe0421' (2023-03-29)
  → 'github:NixOS/nixos-hardware/148fee317058fad8159619e9d6ccc8c0aa6d0fce' (2023-04-06)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/53dad94e874c9586e71decf82d972dfb640ef044' (2023-04-03)
  → 'github:nixos/nixpkgs/9c8ff8b426a8b07b9e0a131ac3218740dc85ba1e' (2023-04-05)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/3342d7c51119030490fdcd07351b53b10806891c' (2023-04-04)
  → 'github:cachix/pre-commit-hooks.nix/d8480d44ffd2e1b5440a3cf74ce6fb299557e9a0' (2023-04-06)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/2f40052be98347b479c820c00fb2fc1d87b3aa28' (2023-04-05)
  → 'github:oxalica/rust-overlay/d1dd2791698a60837ed829a49cd0e4663f5da801' (2023-04-07)
2023-04-07 10:13:22 +02:00
home-manager/modules Zoxide and Starship modules now have nushell integration 2023-04-06 10:00:23 +02:00
machines odin: enable libvirt and cockpit 2023-04-07 10:10:53 +02:00
modules frigate: move mask from objects to motion, expand mask slightly 2023-04-03 09:50:20 +02:00
overlays Add commitgpt package 2022-12-05 11:02:12 +01:00
pkgs Update obs-backgroundremoval 2023-04-03 09:45:35 +02:00
users work: add pass 2023-04-07 10:11:15 +02: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 Update frigate key 2023-03-24 14:23:50 +01:00
flake.lock Update flake.lock 2023-04-07 10:13:22 +02:00
flake.nix Remove hyprland 2023-03-15 12:03:15 +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