No description
Flake lock file updates:
• Updated input 'disko':
'github:nix-community/disko/d5ad4485e6f2edcc06751df65c5e16572877db88?narHash=sha256-PkaR0qmyP9q/MDN3uYa%2BRLeBA0PjvEQiM0rTDDBXkL8%3D' (2025-07-17)
→ 'github:nix-community/disko/545aba02960caa78a31bd9a8709a0ad4b6320a5c?narHash=sha256-7lrVrE0jSvZHrxEzvnfHFE/Wkk9DDqb%2BmYCodI5uuB8%3D' (2025-07-21)
• Updated input 'gomod2nix':
'github:nix-community/gomod2nix/664ad7a2df4623037e315e4094346bff5c44e9ee?narHash=sha256-/GTdqFzFw/Y9DSNAfzvzyCMlKjUyRKMPO%2BapIuaTU4A%3D' (2025-07-05)
→ 'github:nix-community/gomod2nix/be828766411cad04c194c8f714d46aa2b2596362?narHash=sha256-MaaWYgN/nia7xJcOYLBtPk%2BcFo7X2zEM1d9xIGPQrLU%3D' (2025-07-21)
• Updated input 'home-manager':
'github:nix-community/home-manager/c718918222bdb104397762dea67e6b397a7927fe?narHash=sha256-5dn97vIYxn6VozKePOQSDxVCsrl38nDdMJXx86KIJH0%3D' (2025-07-17)
→ 'github:nix-community/home-manager/adf195f021a8cbb0c317f75b52e96c82616526f9?narHash=sha256-KerePGJYX47ex6OY3CWsid4AltO2gDtQROunYJ0eCEE%3D' (2025-07-20)
• Updated input 'nixos-hardware':
'github:nixos/nixos-hardware/d1bfa8f6ccfb5c383e1eba609c1eb67ca24ed153?narHash=sha256-P8J72psdc/rWliIvp8jUpoQ6qRDlVzgSDDlgkaXQ0Fw%3D' (2025-07-16)
→ 'github:nixos/nixos-hardware/cc66fddc6cb04ab479a1bb062f4d4da27c936a22?narHash=sha256-nFxE8lk9JvGelxClCmwuJYftbHqwnc01dRN4DVLUroM%3D' (2025-07-21)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/32a4e87942101f1c9f9865e04dc3ddb175f5f32e?narHash=sha256-f3pO%2B9lg66mV7IMmmIqG4PL3223TYMlnlw%2Bpnpelbss%3D' (2025-07-15)
→ 'github:nixos/nixpkgs/a14f718bc528ad298bd95a18a9ac9a7d7c0ef8e5?narHash=sha256-%2BxNQQqqCx47sbSbwwj/aQL5Xrv6wlgiIU/yKWVAtnc4%3D' (2025-07-20)
• Updated input 'nixpkgsMaster':
'github:NixOS/nixpkgs/0f16a997d7712bc6d706c0cbfc42e536d3cdb4f4?narHash=sha256-xrHo3fAEwaNYAiO2rv46bqCrD1i6KqRwRy8X8VmIcP4%3D' (2025-07-17)
→ 'github:NixOS/nixpkgs/22cad72fc0492622974af5ca560952e878ba184f?narHash=sha256-TEjnWl8148gEUi8CljOyhb5StLfFkpZQmAPmEI7HTnE%3D' (2025-07-22)
• Updated input 'nur':
'github:nix-community/NUR/3c776e8afa33406dfe24292fb70d4e259d4dd40e?narHash=sha256-9rtLCBqhNaz97bC%2BMOSUqwN/QUimVG3D/5O8HKhNIeU%3D' (2025-07-17)
→ 'github:nix-community/NUR/690f8c0102a674b35ac4e919bb34a8ef10d0e84c?narHash=sha256-ftWDv9eUl0cNsJfhwx7RrIZvtUt0SH3LoGsBZfGyWDw%3D' (2025-07-22)
• Updated input 'nur/nixpkgs':
'github:nixos/nixpkgs/62e0f05ede1da0d54515d4ea8ce9c733f12d9f08?narHash=sha256-JHQbm%2BOcGp32wAsXTE/FLYGNpb%2B4GLi5oTvCxwSoBOA%3D' (2025-07-14)
→ 'github:nixos/nixpkgs/c87b95e25065c028d31a94f06a62927d18763fdf?narHash=sha256-NS6BLD0lxOrnCiEOcvQCDVPXafX1/ek1dfJHX1nUIzc%3D' (2025-07-19)
|
||
|---|---|---|
| .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