No description
Flake lock file updates:
• Updated input 'nixpkgsMaster':
'github:NixOS/nixpkgs/1e72cc2d8af737b3bb4d4af019c5a40b7d4c3b3e' (2023-12-04)
→ 'github:NixOS/nixpkgs/449c6fb06be60edd4233bb9fe748a0754df185b1' (2023-12-07)
• Updated input 'nur':
'github:nix-community/NUR/8ec3b786386a1e76657a3c7409076855e5df5d07' (2023-12-04)
→ 'github:nix-community/NUR/e84ed059a4145720429f38352b5852b303888733' (2023-12-07)
• Updated input 'poetry2nix':
'github:nix-community/poetry2nix/7eaec209686dd2a798fa0a86dc2118f4175abf34' (2023-12-04)
→ 'github:nix-community/poetry2nix/9fc487b32a68473da4bf9573f85b388043c5ecda' (2023-12-06)
• Updated input 'sops-nix':
'github:Mic92/sops-nix/8bca48cb9a12bbd8766f359ad00336924e91b7f7' (2023-12-03)
→ 'github:Mic92/sops-nix/e91ece6d2cf5a0ae729796b8f0dedceab5107c3d' (2023-12-04)
|
||
|---|---|---|
| .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