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

• Updated input 'disko':
    'github:nix-community/disko/832a9f2c81ff3485404bd63952eadc17bf7ccef2' (2024-06-13)
  → 'github:nix-community/disko/8262659fc990cecdf6a8de74c3de7b6ec58c2276' (2024-06-17)
• Updated input 'home-manager':
    'github:nix-community/home-manager/8d5e27b4807d25308dfe369d5a923d87e7dbfda3' (2024-06-13)
  → 'github:nix-community/home-manager/d7830d05421d0ced83a0f007900898bdcaf2a2ca' (2024-06-19)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/ae5c8dcc4d0182d07d75df2dc97112de822cb9d6' (2024-06-14)
  → 'github:nixos/nixos-hardware/cde8f7e11f036160b0fd6a9e07dc4c8e4061cf06' (2024-06-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/e9ee548d90ff586a6471b4ae80ae9cfcbceb3420' (2024-06-13)
  → 'github:nixos/nixpkgs/b60ebf54c15553b393d144357375ea956f89e9a9' (2024-06-16)
• Updated input 'nixvim':
    'github:nix-community/nixvim/7a2a25af02be25987aa43cd681312f4b5ba12317' (2024-06-14)
  → 'github:nix-community/nixvim/0e93a59567d0850e54cea26b1b5c541a7182c7cf' (2024-06-18)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/315aa649ba307704db0b16c92f097a08a65ec955' (2024-06-09)
  → 'github:lnl7/nix-darwin/29b3096a6e283d7e6779187244cb2a3942239fdf' (2024-06-17)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/1cb529bffa880746a1d0ec4e0f5076876af931f1' (2024-06-11)
  → 'github:numtide/treefmt-nix/68eb1dc333ce82d0ab0c0357363ea17c31ea1f81' (2024-06-16)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/c279dec105dd53df13a5e57525da97905cc0f0d6' (2024-06-11)
  → 'github:Mic92/sops-nix/797ce4c1f45a85df6dd3d9abdc53f2691bea9251' (2024-06-16)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/4913a7c3d8b8d00cb9476a6bd730ff57777f740c' (2024-06-08)
  → 'github:NixOS/nixpkgs/c884223af91820615a6146af1ae1fea25c107005' (2024-06-15)
• Updated input 'stylix':
    'github:danth/stylix/76d6ca2224adef72f482e46fd61d66d2ef57fb66' (2024-06-14)
  → 'github:danth/stylix/f13c946181730f98e1a5cd09714100490207b250' (2024-06-17)
• Updated input 'stylix/base16-vim':
    'github:chriskempson/base16-vim/3be3cd82cd31acfcab9a41bad853d9c68d30478d' (2022-09-20)
  → 'github:tinted-theming/base16-vim/6e955d704d046b0dc3e5c2d68a2a6eeffd2b5d3d' (2024-05-19)
2024-06-19 11:21:56 +02:00
config Add basicAuth to vaultwarden admin page 2024-06-13 16:45:05 +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 updated ryuuko 2024-05-29 21:12:46 +02:00
secrets/services Add basicAuth to vaultwarden admin page 2024-06-13 16:45:05 +02:00
.gitignore gitignore 2024-01-12 15:14:17 +01:00
.sops.yaml Add emilias key to sops config 2024-06-12 22:46:54 +02:00
flake.lock flake.lock: Update 2024-06-19 11:21:56 +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