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

• Updated input 'disko':
    'github:nix-community/disko/f1654e07728008d354c704d265fc710e3f5f42ee' (2024-05-21)
  → 'github:nix-community/disko/23c63fb09334c3e8958b57e2ddc3870b75b9111d' (2024-05-22)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/3eaeaeb6b1e08a016380c279f8846e0bd8808916' (2024-05-21)
  → 'github:nixos/nixpkgs/5710852ba686cc1fd0d3b8e22b3117d43ba374c2' (2024-05-21)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/fddd52460e3332eedd8a0043af5675338a5b3e0b' (2024-05-20)
  → 'github:Mic92/sops-nix/b549832718b8946e875c016a4785d204fcfc2e53' (2024-05-22)
• Updated input 'stylix':
    'github:danth/stylix/81df8443556335016d6f0bc22630a95776a56d8b' (2024-05-20)
  → 'github:danth/stylix/e7543c51eff9e73c85450c473e1f24513a5e0a0f' (2024-05-22)
2024-05-23 04:21:09 +02:00
config me stupid 2024-05-17 13:06:23 +02:00
lib/shinyflakes fixed deployment 2024-05-14 16:23:51 +02:00
modules more opsies 2024-05-16 23:48:11 +02:00
pkgs meow 2024-05-17 00:10:16 +02:00
secrets/services added update-nixfiles 2024-05-16 17:28:36 +02:00
.gitignore gitignore 2024-01-12 15:14:17 +01:00
.sops.yaml added update-nixfiles 2024-05-16 17:28:36 +02:00
flake.lock flake.lock: Update 2024-05-23 04:21:09 +02:00
flake.nix fix overlays 2024-05-14 04:17:05 +02:00
README.md updated readme 2024-05-16 14:37:15 +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://git.bsd.gay/snaki/nixfiles.git#<configuration>" --no-reboot --build-on-target root@127.0.0.1
$ nixos-enter
$ passwd <local-user>
reboot
$ git clone https://git.bsd.gay/snaki/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