nix infra
Find a file
Update Bot 1b2a6405b9
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/435737144be0259559ca3b43f7d72252b1fdcc1b' (2024-08-22)
  → 'github:nix-community/disko/b09eb605e376c9e95c87c0ef3fcb8008e11c8368' (2024-08-26)
• Updated input 'hydra':
    'git+https://git.lix.systems/snaakey/hydra.git?ref=refs/heads/main&rev=3c5c42385a4abff328e1bc2c1bac4701891570ec' (2024-08-25)
  → 'git+https://git.lix.systems/snaakey/hydra.git?ref=refs/heads/main&rev=ab6d81fad404af05dfeae7f74d1783a2f7367826' (2024-08-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21)
  → 'github:nixos/nixpkgs/d0e1602ddde669d5beb01aec49d71a51937ed7be' (2024-08-24)
• Updated input 'nixvim':
    'github:nix-community/nixvim/8234ee85eaa2c8b7f2c74f5b4cdf02c4965b07fc' (2024-08-24)
  → 'github:nix-community/nixvim/eac092c876e4c4861c6df0cff93e25b972b1842c' (2024-08-26)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/ea319a737939094b48fda9063fa3201ef2479aac' (2024-08-24)
  → 'github:lnl7/nix-darwin/ac5694a0b855a981e81b4d9f14052e3ff46ca39e' (2024-08-25)
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/a05d1805f2a2bc47d230e5e92aecbf69f784f3d0' (2024-08-18)
  → 'github:NuschtOS/search/5a08d691de30b6fc28d58ce71a5e420f2694e087' (2024-08-25)
• Updated input 'stylix':
    'github:danth/stylix/d042af478ce87e188139480922a3085218194106' (2024-08-23)
  → 'github:danth/stylix/6c895c6b42ca205017abe72a7263baf36a197972' (2024-08-26)
2024-08-27 04:20:49 +02:00
config Fix ryuuko build 2024-08-22 18:27:32 +02:00
lib/shinyflakes fixed deployment 2024-05-14 16:23:51 +02:00
modules Add build-worker-oci container image 2024-08-21 21:32:49 +02:00
pkgs Move hydra to lix fork 2024-08-21 23:27:57 +02:00
secrets/services Add nyastodon secrets 2024-08-14 20:02:26 +02:00
.gitignore Add build-worker container image 2024-08-18 21:57:16 +02:00
.sops.yaml Add nyastodon secrets 2024-08-14 20:02:26 +02:00
flake.lock flake.lock: Update 2024-08-27 04:20:49 +02:00
flake.nix Use own hydra branch until PR is merged 2024-08-22 20:40:57 +02:00
fly.toml Add new build machines 2024-08-21 21:49:00 +02:00
README.md Update repository url to woof.rip 2024-06-20 14:18:21 +02:00

emilys Nix Infra

Build Status

First deployment

remote hosts

$ nix run github:nix-community/nixos-anywhere -- --flake ".#<configuration>" root@<target-host>

desktops

$ nix --extra-experimental-features nix-command run github:nix-community/nixos-anywhere -- --flake "git+https://woof.rip/emily/nixfiles.git#<configuration>" --no-reboot --build-on-target root@127.0.0.1
$ nixos-enter
$ passwd <local-user>
reboot
$ git clone https://woof.rip/emily/nixfiles.git
$ colmena apply-local --sudo --node <node> 

Todo

  • tomate (router dus)
  • kartoffel
  • most services
  • brokkoli2 (router ams)
  • alucard
  • merge hetzner hosts

Structure

nixfiles
├── config              # NixOS configuration
│   ├── common          # configuration applyed to all hosts (some settings might be influenced by machine-type)
│   │   └── users       # user configuration
│   ├── hosts           # configuration for specific hosts
│   ├── profiles        # configuariotn for specific machine types
│   └── services        # common service configuration
├── lib                 # helper functions
├── modules             # NixOS modules
└── pkgs                # nixpkgs overlays