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

• Updated input 'attic':
    'github:zhaofengli/attic/acf3c351f8de47c6857f31948ab253f9c7ce2a6f' (2024-08-19)
  → 'github:zhaofengli/attic/6d9aeaef0a067d664cb11bb7704f7ec373d47fb2' (2024-08-21)
• Updated input 'disko':
    'github:nix-community/disko/c7b14da22e302e0f9d7aa4df26b61016bcedf738' (2024-08-20)
  → 'github:nix-community/disko/4b866c9942d0f771ae934f04ca9859936f9bfbcf' (2024-08-22)
• Updated input 'lix':
    'bcaeb6388b.tar.gz?narHash=sha256-Rosl9iA9MybF5Bud4BTAQ9adbY81aGmPfV8dDBGl34s%3D' (2024-08-12)
  → 'bcaeb6388b.tar.gz?narHash=sha256-Rosl9iA9MybF5Bud4BTAQ9adbY81aGmPfV8dDBGl34s%3D&rev=bcaeb6388b8916ac6d1736e3aa2b13313e6a6bd2' (2024-08-12)
• Updated input 'lix-module':
    '622a2253a0.tar.gz?narHash=sha256-zNW/rqNJwhq2lYmQf19wJerRuNimjhxHKmzrWWFJYts%3D' (2024-08-13)
  → '622a2253a0.tar.gz?narHash=sha256-zNW/rqNJwhq2lYmQf19wJerRuNimjhxHKmzrWWFJYts%3D&rev=622a2253a071a1fb97a4d3c8103a91114acc1140' (2024-08-13)
• Updated input 'nixvim':
    'github:nix-community/nixvim/851edc8df1347aef556a646c80d469a3137331ba' (2024-08-20)
  → 'github:nix-community/nixvim/b7f419a759f70126e220533b724cc17e8528b184' (2024-08-21)
• Updated input 'stylix':
    'github:danth/stylix/94d70292d0c687ebacb65d00bd516cbefa18d3ca' (2024-08-19)
  → 'github:danth/stylix/c5f8f06543b70248a076f888177c7362a24d5dcc' (2024-08-21)
2024-08-22 04:20:26 +02:00
config Move hydra to lix fork 2024-08-21 23:27:57 +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-22 04:20:26 +02:00
flake.nix Move hydra to lix fork 2024-08-21 23:27: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