No description
Flake lock file updates:
• Updated input 'gomod2nix':
'github:nix-community/gomod2nix/4702caff8e201f4c98fe3583637a930d253447c8' (2024-05-20)
→ 'github:nix-community/gomod2nix/31b6d2e40b36456e792cd6cf50d5a8ddd2fa59a1' (2024-05-30)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/67a8b308bae9c26be660ccceff3e53a65e01afe1' (2024-05-27)
→ 'github:nixos/nixpkgs/d24e7fdcfaecdca496ddd426cae98c9e2d12dfe8' (2024-05-30)
• Updated input 'nixpkgsMaster':
'github:NixOS/nixpkgs/4c4f6f1395b1fda7ebe6a9106e68d2098f09441d' (2024-05-28)
→ 'github:NixOS/nixpkgs/5ceeafa47de0b2e842354147fafc39d567e4cd9c' (2024-05-31)
• Updated input 'nur':
'github:nix-community/NUR/731eb0c95af5efa7a8ffb3ca1b5f1a00d8e5db13' (2024-05-28)
→ 'github:nix-community/NUR/7963300aab117ee31dd5185541ceed009ce3e312' (2024-05-31)
• Updated input 'poetry2nix':
'github:nix-community/poetry2nix/12599ecaa9ec641c29dc8fd07f8267b23874bf3a' (2024-05-27)
→ 'github:nix-community/poetry2nix/0a592572706db14e49202892318d3812061340a0' (2024-05-30)
|
||
|---|---|---|
| .git-crypt | ||
| custom-utils | ||
| hosts | ||
| modules | ||
| pkgs | ||
| users | ||
| .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