No description
Find a file
Jakob Lechner 5dd1c0f182
flake.lock: Update
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/dbabf0ca0c0c4bce6ea5eaf65af5cb694d2082c7' (2023-06-25)
  → 'github:numtide/flake-utils/919d646de7be200f3bf08cb76ae1f09402b6f9b4' (2023-07-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/8df7a67abaf8aefc8a2839e0b48f92fdcf69a38b' (2023-07-09)
  → 'github:nixos/nixpkgs/98da3dd0de6660d4abed7bb74e748694bd803413' (2023-07-12)
• Updated input 'nixpkgsMaster':
    'github:NixOS/nixpkgs/72c08deeab9e6ca478aad5416e63b72bef5c11fb' (2023-07-10)
  → 'github:NixOS/nixpkgs/9ca68335164683c4c7871d67fb8681fdd519f104' (2023-07-12)
• Updated input 'nur':
    'github:nix-community/NUR/46663cf4a220139e81691144278fa1f637c22615' (2023-07-10)
  → 'github:nix-community/NUR/6882b9ff971f72d0e8c0724f57f0f96e9473bc77' (2023-07-12)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/b2047c8fc963407916ad3834165309007dc5a1f7' (2023-07-09)
  → 'github:Mic92/sops-nix/88b964df6981e4844c07be8c192aa6bdca768a10' (2023-07-12)
2023-11-22 14:53:55 +00:00
.git-crypt Add 1 git-crypt collaborator 2023-11-08 23:38:48 +00:00
home-manager Fix indentation 2023-11-22 14:53:47 +00:00
hosts Allow anonymous mqtt access 2023-11-08 23:41:45 +00:00
modules Fix v4l2loopback 2023-11-08 23:40:29 +00:00
pkgs Update pretix 2023-11-08 23:41:10 +00:00
.editorconfig Add config for .nix files 2022-04-27 11:02:38 +00:00
.envrc Use flakes 2021-11-17 09:33:48 +00:00
.gitattributes Add git-crypt 2023-11-08 23:38:39 +00:00
.gitignore Ignore qcow2 files (QEMU disk images) 2023-02-23 19:41:15 +00:00
.sops.yaml Reinstall weinturm-pretix-prod on aarch64 2023-11-08 23:41:04 +00:00
flake.lock flake.lock: Update 2023-11-22 14:53:55 +00:00
flake.nix Add argon2id app 2023-11-08 23:39:10 +00:00
justfile Add fwupdmgr commands 2022-06-08 11:45:45 +00:00
README.md Add sops instructions 2023-02-23 19:41:15 +00:00

home-manager

https://github.com/nix-community/home-manager

For a systematic overview of Home Manager and its available options, please see

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