nix infra
Find a file
Update Bot 6e61626b67
flake.lock: Update
Flake lock file updates:

• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/ff1be1e3cdf884df0935ab28745ab13c3c26d828' (2024-05-16)
  → 'github:nixos/nixos-hardware/b55712de78725c8fcde422ee0a0fe682046e73c3' (2024-05-18)
• Updated input 'nixvim':
    'github:nix-community/nixvim/3766e3633586ef9fac02f0347509171f0a4794b9' (2024-05-17)
  → 'github:nix-community/nixvim/7c4fe30f814595bc617d6b1b682ab9cbfe535d33' (2024-05-17)
• Updated input 'stylix':
    'github:danth/stylix/b5f4ca49df372c3d26ce04b1554fb02a0107cc8d' (2024-05-12)
  → 'github:danth/stylix/76e7daf5a16d442ac98e844582f7dc1354610886' (2024-05-18)
2024-05-18 15:48:50 +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-18 15:48:50 +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