No description
Flake lock file updates:
• Updated input 'home-manager':
'github:nix-community/home-manager/c6a01e54af81b381695db796a43360bf6db5702f?narHash=sha256-aRY1cYOdVdXdNjcL/Twpa27CknO7pVHxooPsBizDraE%3D' (2025-07-11)
→ 'github:nix-community/home-manager/c26266790678863cce8e7460fdbf0d80991b1906?narHash=sha256-ReX0NG6nIAEtQQjLqeu1vUU2jjZuMlpymNtb4VQYeus%3D' (2025-07-13)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/10e687235226880ed5e9f33f1ffa71fe60f2638a?narHash=sha256-3MxxkU8ZXMHXcbFz7UE4M6qnIPTYGcE/7EMqlZNnVDE%3D' (2025-07-10)
→ 'github:nixos/nixpkgs/650e572363c091045cdbc5b36b0f4c1f614d3058?narHash=sha256-pzrVLKRQNPrii06Rm09Q0i0dq3wt2t2pciT/GNq5EZQ%3D' (2025-07-12)
• Updated input 'nixpkgsMaster':
'github:NixOS/nixpkgs/aca3b8acd1f6bc0d0e5a16acb34e054fb033bfd1?narHash=sha256-mthHgsgpRZ%2BVwS%2BAcDyoHs25QqOZBHZtrr8BJ52QvV8%3D' (2025-07-12)
→ 'github:NixOS/nixpkgs/dd2290ee7f441ab85bb45ac4fd7e6c39c8da3f6f?narHash=sha256-Ww1Y9zlrII4xQfpeT1H/yo6VZ1HHvQEzpDGFbwDJVIE%3D' (2025-07-14)
• Updated input 'nur':
'github:nix-community/NUR/304496677413ac5c05202a250e20047a516e4bc6?narHash=sha256-SwESoXWEUc9pUqSkRp8V3%2B3ht7sQHUey3BdtpJuW5xA%3D' (2025-07-12)
→ 'github:nix-community/NUR/5b1910b8032e7adc6137e2f1a1e230e25e42ddce?narHash=sha256-HRm5gqtYWtk1rM3qzx0yFVqV1QlkOIBcLQM%2BRrthht8%3D' (2025-07-14)
• Updated input 'vesc-tool':
'github:vedderb/vesc_tool/588d2fe1c7bd2d0fdff25bff5a606ec7c71f6d60?narHash=sha256-PPgnbZexrN4TTowoDN03pPwDsEKsKG/EG5RGpuTQixY%3D' (2025-07-06)
→ 'github:vedderb/vesc_tool/3d9bf42df4ed617a4ceb026bfebcc0f6deb5de5a?narHash=sha256-8br%2BrIBimcsccy6LZXdzjEeJC67655Ute8wCFKkFAq8%3D' (2025-07-13)
|
||
|---|---|---|
| .git-crypt | ||
| custom-utils | ||
| hosts | ||
| modules | ||
| pkgs | ||
| users | ||
| .editorconfig | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| README.md | ||
jalr's NixOS Configuration
Install a new host
This installs nixos on host somehost:
NixOS Anywhere
nix run github:nix-community/nixos-anywhere -- --flake .#<somehost> root@<somehost>
The traditional way
nix-shell -p nixUnstable --run 'nixos-install --flake https://gitlab.jalr.de/jalr/nixos-configuration#somehost --no-channel-copy'
Build a configuration
nix build .#nixosConfigurations.iron.config.system.build.toplevel
setting up sops
Get the host key and convert it.
ssh-keyscan -t ed25519 $host | ssh-to-age
Then add the key to .sops.yaml
If the key changed, you might want to run
sops updatekeys hosts/$host/secrets.yaml
nix repl
start an interactive environment for evaluating Nix expressions
$ nix repl
nix-repl> a=builtins.getFlake (toString ./.)
$ nix repl
nix-repl> :lf .#
Import GPG public key
gpg --card-edit
gpg/card> fetch
gpg --edit-key $key
gpg> trust
Your decision? 5
Debugging boot issues
- Add
rd.systemd.debug_shellkernel parameter - Press CTRL+ALT+F9 to switch to root shell