No description
Find a file
Jakob Lechner 6db9748194
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/aeb2232d7a32530d3448318790534d196bf9427a' (2023-11-24)
  → 'github:nix-community/home-manager/6761b8188b860f374b457eddfdb05c82eef9752f' (2023-12-10)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
  → 'github:cachix/pre-commit-hooks.nix/e1d203c2fa7e2593c777e490213958ef81f71977' (2023-12-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/933d7dc155096e7575d207be6fb7792bc9f34f6d' (2023-12-02)
  → 'github:nixos/nixpkgs/781e2a9797ecf0f146e81425c822dca69fe4a348' (2023-12-10)
• Updated input 'nixpkgsMaster':
    'github:NixOS/nixpkgs/449c6fb06be60edd4233bb9fe748a0754df185b1' (2023-12-07)
  → 'github:NixOS/nixpkgs/d92daec27ee4662c8a4a10206d9bfc3d7e557f90' (2023-12-12)
• Updated input 'nur':
    'github:nix-community/NUR/e84ed059a4145720429f38352b5852b303888733' (2023-12-07)
  → 'github:nix-community/NUR/afac0dcdeb4bcfd484dee11afa7c9ab0b354d251' (2023-12-12)
• Updated input 'poetry2nix':
    'github:nix-community/poetry2nix/9fc487b32a68473da4bf9573f85b388043c5ecda' (2023-12-06)
  → 'github:nix-community/poetry2nix/c12ac880114d52a3cad5fa02b00f2e2090e89982' (2023-12-12)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/e91ece6d2cf5a0ae729796b8f0dedceab5107c3d' (2023-12-04)
  → 'github:Mic92/sops-nix/d806e546f96c88cd9f7d91c1c19ebc99ba6277d9' (2023-12-10)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/dc01248a9c946953ad4d438b0a626f5c987a93e4' (2023-12-03)
  → 'github:NixOS/nixpkgs/b8f33c044e51de6dde3ad80a9676945e0e4e3227' (2023-12-09)
2023-12-12 10:11:52 +00:00
.git-crypt Add 1 git-crypt collaborator 2023-11-08 23:38:48 +00:00
custom-utils Add port attrset 2023-11-22 14:55:28 +00:00
home-manager Pass arguments to rmview 2023-11-29 18:16:17 +00:00
hosts Update pretix and apply fixes for 23.05 2023-12-07 17:09:34 +00:00
modules Add comment regarding remarkable_printer 2023-11-29 18:16:06 +00:00
pkgs Fix pretix schema migration issue 2023-12-07 17:34:22 +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 custom voicemail greeting 2023-11-22 14:55:29 +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-12-12 10:11:52 +00:00
flake.nix Add poetry2nix 2023-12-02 12:23:58 +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