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

• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/fb58866e20af98779017134319b5663b8215d912' (2023-04-27)
  → 'github:cachix/pre-commit-hooks.nix/61e567d6497bc9556f391faebe5e410e6623217f' (2023-05-23)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/7629f9b0680d87c7775f3261bee746da5dac76d1' (2023-05-08)
  → 'github:nixos/nixpkgs/b0671cbf1e5c443f7fbfd4941ee0f8a151435114' (2023-05-21)
• Updated input 'nixpkgsMaster':
    'github:NixOS/nixpkgs/6810db9123d91cd10daf6dd773b1ef8b645e5f60' (2023-05-09)
  → 'github:NixOS/nixpkgs/499cad7a722caf0bebb2a382a67fa39c992acebd' (2023-05-23)
• Updated input 'nur':
    'github:nix-community/NUR/bd5bd8fd3b1d1e862bf412b570c1143cd2ab1cb4' (2023-05-09)
  → 'github:nix-community/NUR/2c7307a5423802a6da62ec3bc80ce44e1788dd5b' (2023-05-23)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/36b062a2c85a0efb37de1300c79c54602a094fab' (2023-05-08)
  → 'github:Mic92/sops-nix/4ccdfb573f323a108a44c13bb7730e42baf962a9' (2023-05-21)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/ba0086c178d4ed60a7899f739caea553eca2e046' (2023-05-08)
  → 'github:NixOS/nixpkgs/d0dade110dc7072d67ce27826cfe9ab2ab0cf247' (2023-05-21)
2023-05-23 16:29:16 +00:00
home-manager Add de as second keyboard layout 2023-05-18 08:57:34 +00:00
hosts Lower MTU of wgkalle interface 2023-05-23 16:26:45 +00:00
modules Add qbittorrent 2023-05-03 02:26:15 +00:00
pkgs Add torrent service 2023-05-02 00:09:33 +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
.gitignore Ignore qcow2 files (QEMU disk images) 2023-02-23 19:41:15 +00:00
.sops.yaml Add dyndns for iron 2023-05-02 20:39:59 +00:00
flake.lock flake.lock: Update 2023-05-23 16:29:16 +00:00
flake.nix Use nixos-22.11 branch 2023-02-18 23:11:08 +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