1
0
Fork 0
forked from emily/nixfiles
nix infra
Find a file
Update Bot fb7628d979
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/4b866c9942d0f771ae934f04ca9859936f9bfbcf' (2024-08-22)
  → 'github:nix-community/disko/435737144be0259559ca3b43f7d72252b1fdcc1b' (2024-08-22)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/8a3354191c0d7144db9756a74755672387b702ba' (2024-08-18)
  → 'github:nixos/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62' (2024-08-21)
• Updated input 'nixvim':
    'github:nix-community/nixvim/b7f419a759f70126e220533b724cc17e8528b184' (2024-08-21)
  → 'github:nix-community/nixvim/1854d591cb0e5be6ad97f5091766cdf28e948265' (2024-08-22)
• Updated input 'nixvim/git-hooks':
    'github:cachix/git-hooks.nix/bfef0ada09e2c8ac55bbcd0831bd0c9d42e651ba' (2024-08-16)
  → 'github:cachix/git-hooks.nix/6cedaa7c1b4f82a266e5d30f212273e60d62cb0d' (2024-08-21)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/076b9a905af8a52b866c8db068d6da475839d97b' (2024-08-17)
  → 'github:lnl7/nix-darwin/a8968d88e5a537b0491f68ce910749cd870bdbef' (2024-08-22)
2024-08-23 04:20:54 +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-23 04:20:54 +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