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

• Updated input 'attic':
    'github:zhaofengli/attic/aec90814a4ecbc40171d57eeef97c5cab4aaa7b4' (2024-09-08)
  → 'github:zhaofengli/attic/416687e59c4f0b32742423458cab2c5ff8fe748a' (2024-09-11)
• Updated input 'home-manager':
    'github:nix-community/home-manager/e5fa72bad0c6f533e8d558182529ee2acc9454fe' (2024-09-10)
  → 'github:nix-community/home-manager/8a1671642826633586d12ac3158e463c7a50a112' (2024-09-11)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/574d1eac1c200690e27b8eb4e24887f8df7ac27c' (2024-09-06)
  → 'github:nixos/nixpkgs/1355a0cbfeac61d785b7183c0caaec1f97361b43' (2024-09-10)
• Updated input 'nixvim':
    'github:nix-community/nixvim/fc7e9b29271a03459191955f78d4128451b7cd81' (2024-09-10)
  → 'github:nix-community/nixvim/11c133e89e4090c43445a2c3b5af2322831d7219' (2024-09-11)
2024-09-12 04:20:57 +02:00
config ooklaserver: Init module 2024-09-11 22:17:25 +02:00
lib/shinyflakes fixed deployment 2024-05-14 16:23:51 +02:00
modules ooklaserver: Cleanup 2024-09-12 00:39:29 +02:00
pkgs fix: attic inputs and update-nixfiles 2024-09-11 22:17:48 +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-09-12 04:20:57 +02:00
flake.nix fix: attic inputs and update-nixfiles 2024-09-11 22:17:48 +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