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

• Updated input 'disko':
    'github:nix-community/disko/944d338d24a9d043a3f7461c30ee6cfe4f9cca30' (2023-10-27)
  → 'github:nix-community/disko/548962c50b8afad7b8c820c1d6e21dc8394d6e65' (2023-11-04)
• Updated input 'emacs-overlay':
    'github:nix-community/emacs-overlay/8f964138749616526f0d2792e05e06aa5d509741' (2023-11-03)
  → 'github:nix-community/emacs-overlay/a9375fdc81c04aa20f197c195720de179360b4f5' (2023-11-06)
• Updated input 'emacs-overlay/nixpkgs-stable':
    'github:NixOS/nixpkgs/34bdaaf1f0b7fb6d9091472edc968ff10a8c2857' (2023-11-01)
  → 'github:NixOS/nixpkgs/aeefe2054617cae501809b82b44a8e8f7be7cc4b' (2023-11-05)
• Updated input 'home-manager':
    'github:nix-community/home-manager/48b0a30202516e25d9885525fbb200a045f23f26' (2023-11-01)
  → 'github:nix-community/home-manager/c067d57fc4552835987fd7611c3a6741ee32ebd5' (2023-11-06)
• Updated input 'microvm':
    'github:astro/microvm.nix/d07c3efd42a93d576da2ba6569818b6edb0cbe18' (2023-11-02)
  → 'github:astro/microvm.nix/4caeec0f24d416ce19c76754cae572f1e1882ffe' (2023-11-05)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/11d50c5d52472ed40d3cb109daad03c836d2b328' (2023-11-01)
  → 'github:NixOS/nixos-hardware/627bc9b88256379578885a7028c9e791c29fb581' (2023-11-05)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/fa804edfb7869c9fb230e174182a8a1a7e512c40' (2023-11-02)
  → 'github:nixos/nixpkgs/85f1ba3e51676fa8cc604a3d863d729026a6b8eb' (2023-11-04)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/dec10399e5b56aa95fcd530e0338be72ad6462a0' (2023-11-01)
  → 'github:cachix/pre-commit-hooks.nix/ea758da1a6dcde6dc36db348ed690d09b9864128' (2023-11-06)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/321affd863e3e4e669990a1db5fdabef98387b95' (2023-11-03)
  → 'github:oxalica/rust-overlay/a7f9bf91dc5065d470cd57169a9f2ebdbdfe1f24' (2023-11-06)
• Updated input 'sops':
    'github:Mic92/sops-nix/84d6b27dc71ac02422e192c35806d06915d2bf67' (2023-11-02)
  → 'github:Mic92/sops-nix/664187539871f63857bda2d498f452792457b998' (2023-11-06)
• Updated input 'sops/nixpkgs-stable':
    'github:NixOS/nixpkgs/d87c5d8c41c9b3b39592563242f3a448b5cc4bc9' (2023-10-29)
  → 'github:NixOS/nixpkgs/78f3a4ae19f0e99d5323dd2e3853916b8ee4afee' (2023-11-04)
2023-11-07 00:23:38 +01:00
home-manager/modules emacs: Add blamer.el to show inline git-blame info 2023-11-03 12:30:59 +01:00
lib Initial refactoring 2023-10-14 16:55:13 +02:00
machines loki: Create k3s cluster with microvm 2023-11-03 00:08:00 +01:00
modules keycloak: Add organizations plugin 2023-11-03 16:29:31 +01: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 home: Remove FreeCAD, add element-desktop 2023-11-01 09:31:48 +01: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 loki: Create k3s cluster with microvm 2023-11-03 00:08:00 +01:00
flake.lock flake.lock: Update 2023-11-07 00:23:38 +01: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