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

• Updated input 'flake-utils':
    'github:numtide/flake-utils/cfacdce06f30d2b68473a46042957675eebb3401' (2023-04-11)
  → 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31)
• Updated input 'home-manager':
    'github:nix-community/home-manager/bec196cd9b5f34213c7dc90ef2a524336df70e30' (2023-05-26)
  → 'github:nix-community/home-manager/3876cc613ac3983078964ffb5a0c01d00028139e' (2023-05-31)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/61e567d6497bc9556f391faebe5e410e6623217f' (2023-05-23)
  → 'github:cachix/pre-commit-hooks.nix/ca2fdbf3edda2a38140184da6381d49f8206eaf4' (2023-05-29)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/3e01645c40b92d29f3ae76344a6d654986a91a91' (2023-05-25)
  → 'github:nixos/nixpkgs/3a70dd92993182f8e514700ccf5b1ae9fc8a3b8d' (2023-05-31)
• Updated input 'nixpkgsMaster':
    'github:NixOS/nixpkgs/757a0d107c238d031652a8c09d1f6bf1b6f523a3' (2023-05-26)
  → 'github:NixOS/nixpkgs/50f1969bfa42113715adf0f7b9b42a6d8f534c84' (2023-06-01)
• Updated input 'nur':
    'github:nix-community/NUR/6c3d248aeb6e6763ab897d98c1e17de950ea2ad5' (2023-05-26)
  → 'github:nix-community/NUR/3c58e841ac19ae929e68c5ae11c6b2c92996a618' (2023-06-01)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/4ccdfb573f323a108a44c13bb7730e42baf962a9' (2023-05-21)
  → 'github:Mic92/sops-nix/876846cde9762ae563f018c17993354875e2538e' (2023-05-30)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/d0dade110dc7072d67ce27826cfe9ab2ab0cf247' (2023-05-21)
  → 'github:NixOS/nixpkgs/ba6e4ddeb3e8ad3f3e3bec63dafbc9fe558729bb' (2023-05-27)
2023-06-11 15:31:39 +00:00
home-manager Fix waybar icons 2023-06-11 15:30:27 +00:00
hosts Change network interface names 2023-06-11 15:31:25 +00:00
modules Allow unfree package: mongodb 2023-06-11 15:31:01 +00:00
pkgs Revert "Split UMC202HD inputs into mono channels" 2023-06-11 15:29:17 +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-06-11 15:31:39 +00:00
flake.nix Fix warnings after switching to 23.05 2023-06-11 15:29:54 +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