My configuration. Probably nothing to look for here.
Go to file
Deployerbot Main 8bcd4bd562 flake.lock: Update
Flake lock file updates:

• Updated input 'e11sync':
    'git+https://git.jakstys.lt/motiejus/e11sync?ref=refs/heads/main&rev=e710034935a6fd66c49655e8846a120bc50d877e' (2024-01-27)
  → 'git+https://git.jakstys.lt/motiejus/e11sync?ref=refs/heads/main&rev=51f3fb6c44a846eb0e9f522232bdc742ee78c2bc' (2024-01-28)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/f8e04fbcebcc24cebc91989981bd45f69b963ed7' (2024-01-21)
  → 'github:Mic92/nix-index-database/c782f2a4f6fc94311ab5ef31df2f1149a1856181' (2024-01-28)
• Updated input 'nur':
    'github:nix-community/NUR/236b614c4c91c07e1239dff02e91377bf305354f' (2024-01-27)
  → 'github:nix-community/NUR/4fc5b14cae1e1b4fd6f4ef879a552e1d8c6f868a' (2024-01-28)
• Updated input 'pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/f56597d53fd174f796b5a7d3ee0b494f9e2285cc' (2024-01-20)
  → 'github:cachix/pre-commit-hooks.nix/7c54e08a689b53c8a1e5d70169f2ec9e2a68ffaf' (2024-01-28)
2024-01-28 23:30:54 +00:00
hosts fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
modules firefox: use firefox-bin 2024-01-27 16:34:01 +02:00
secrets fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
shared/home firefox: disable auto updates 2024-01-28 14:53:54 +02:00
.envrc move home-manager config to a dedicated location 2023-10-06 11:24:00 +03:00
.gitattributes Configure git repository for gpg file diff. 2023-01-03 13:41:30 +02:00
.gitignore enable some checks in pre-commit hooks 2023-10-02 00:00:30 +03:00
data.nix 11sync.net: google-site-verification 2024-01-26 18:54:56 +02:00
flake.lock flake.lock: Update 2024-01-28 23:30:54 +00:00
flake.nix fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
LICENSE relicense 2024-01-15 18:18:45 +02:00
nixpkgs.nix nix fmt . 2023-04-03 16:50:52 +03:00
README.md update README a bit 2023-10-18 16:52:03 +03:00
secrets.nix fra1-a: backup e11sync 2024-01-25 14:49:51 +02:00
statix.toml statix: fix bugs with inherit 2023-10-02 00:00:30 +03:00

Config

Flakes:

$ deploy --interactive '#vno1-oh2'

$ nix build .#deploy.nodes.fra1-a.profiles.system.path

Other:

$ nix build .#nixosConfigurations.vno3-rp3b.config.system.build.toplevel
$ nix build .#homeConfigurations.x86_64-linux.motiejusja.activationPackage

$ nix eval .#nixosConfigurations.vno1-oh2.config.services.nsd

Encoding host-only secrets

Encode a secret on host:

rage -e -r "$(cat /etc/ssh/ssh_host_ed25519_key.pub)" -o secret.age /path/to/plaintext

Decode a secret on host (to test things out):

rage -d -i /etc/ssh/ssh_host_ed25519_key secret.age