No description
Flake lock file updates:
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/0b3d618173114c64ab666f557504d6982665d328' (2023-12-21)
→ 'github:nixos/nixpkgs/d02d818f22c777aa4e854efc3242ec451e5d462a' (2023-12-25)
• Updated input 'nixpkgsMaster':
'github:NixOS/nixpkgs/904b22f4024a67b196eda237e8b7cdd2fd4fe7ee' (2023-12-25)
→ 'github:NixOS/nixpkgs/52a9e17b781aeae9bde6e5936b1f126b646c5189' (2023-12-27)
• Updated input 'nur':
'github:nix-community/NUR/5942503289336c3f00348f16dea95e54e4b43b42' (2023-12-25)
→ 'github:nix-community/NUR/544f12dfd015f630784a654d31f2dcbad6af3d0d' (2023-12-27)
|
||
|---|---|---|
| .git-crypt | ||
| custom-utils | ||
| home-manager | ||
| hosts | ||
| modules | ||
| pkgs | ||
| .editorconfig | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .sops.yaml | ||
| flake.lock | ||
| flake.nix | ||
| justfile | ||
| README.md | ||
home-manager
https://github.com/nix-community/home-manager
For a systematic overview of Home Manager and its available options, please see
- the Home Manager manual and
- the Home Manager configuration options.
Install a new host
This installs nixos on host somehost:
nix-shell -p nixUnstable --run 'nixos-install --flake https://gitlab.jalr.de/jalr/nixos-configuration#somehost --no-channel-copy'
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