No description
Flake lock file updates:
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/3ff0e34b1383648053bba8ed03f201d3466f90c9?narHash=sha256-CdX2Rtvp5I8HGu9swBmYuq%2BILwRxpXdJwlpg8jvN4tU%3D' (2025-07-24)
→ 'github:nixos/nixpkgs/1f08a4df998e21f4e8be8fb6fbf61d11a1a5076a?narHash=sha256-%2BjkEZxs7bfOKfBIk430K%2BtK9IvXlwzqQQnppC2ZKFj4%3D' (2025-07-29)
• Updated input 'nixpkgsMaster':
'github:NixOS/nixpkgs/2014a8b27a90ef142462b5dfabc8e73bb95bec8b?narHash=sha256-vbjK4COEWyg8xX6GjyVEGZVIodA3DWyeqxnObyfqzas%3D' (2025-07-28)
→ 'github:NixOS/nixpkgs/eedcb0398ca492b960103c0f6413eae0d0947ac9?narHash=sha256-dMMuPj1ENyknnVt7m90uQAq26PH4j/Fs1qZ9y/Zu%2B44%3D' (2025-07-30)
• Updated input 'nur':
'github:nix-community/NUR/0ca9aba7c440a77873111b7a52913cfaac5ddb08?narHash=sha256-OEqqcfz%2BDny%2BIWxTg/gGyf4Pr21TevNHFKxuVVo4NLs%3D' (2025-07-28)
→ 'github:nix-community/NUR/3ae985f54bc999536cee4f6a7e4802a7402c6551?narHash=sha256-2YJ6A3BIxCoFfGL6mNv%2B0ZyrgN3ZxiHFQwrKTd993zk%3D' (2025-07-30)
• Updated input 'nur/nixpkgs':
'github:nixos/nixpkgs/7fd36ee82c0275fb545775cc5e4d30542899511d?narHash=sha256-9h7%2B4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ%2BSJjk%3D' (2025-07-25)
→ 'github:nixos/nixpkgs/dc9637876d0dcc8c9e5e22986b857632effeb727?narHash=sha256-cKgvtz6fKuK1Xr5LQW/zOUiAC0oSQoA9nOISB0pJZqM%3D' (2025-07-28)
• Updated input 'vesc-tool':
'github:vedderb/vesc_tool/16f6216c87b04db5e68071a840e3398e20ad1aad?narHash=sha256-L3d52lZpZlteZSHgSDFd%2BQ6BD24BiLH4KjBFD4Sasp4%3D' (2025-07-14)
→ 'github:vedderb/vesc_tool/f3b8c6f8c7b31420b0981448e6abb4bd5ddedbaa?narHash=sha256-r6Sxa8a2DNseWZ86vp/Wm22qP9KM7%2BZpkyRtQ1xh2hE%3D' (2025-07-30)
|
||
|---|---|---|
| .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