nix infra
Find a file
emily b3b7a49123
flake.lock: Update
Flake lock file updates:

• Updated input 'disko':
    'github:nix-community/disko/a13f36255cf4ce99cc4236a34251c2e7106e101d?narHash=sha256-cTuJVlOm05aQFIgGuYikgkrI61P2vTO2OfXwIRWEzUg%3D' (2024-02-26)
  → 'github:nix-community/disko/5d2d3e421ade554b19b4dbb0d11a04023378a330?narHash=sha256-5DUNQl9BSmLxgGLbF05G7hi/UTk9DyZq8AuEszhQA7Q%3D' (2024-03-24)
• Updated input 'flake-utils':
    'github:numtide/flake-utils/d465f4819400de7c8d874d50b982301f28a84605?narHash=sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8%3D' (2024-02-28)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
• Updated input 'home-manager':
    'github:nix-community/home-manager/1d085ea4444d26aa52297758b333b449b2aa6fca?narHash=sha256-RCz7Xe64tN2zgWk%2BMVHkzg224znwqknJ1RnB7rVqUWw%3D' (2024-02-26)
  → 'github:nix-community/home-manager/1c2c5e4cabba4c43504ef0f8cc3f3dfa284e2dbb?narHash=sha256-WJOahf%2B6115%2BGMl3wUfURu8fszuNeJLv9qAWFQl3Vmo%3D' (2024-03-22)
• Updated input 'kyouma-www':
    'git+https://git.bsd.gay/snaki/kyouma-net.git?ref=refs/heads/main&rev=c1e8e9fc90be19ce1f610f0b13082b6066b28f7d' (2024-01-23)
  → 'git+https://git.bsd.gay/snaki/kyouma-net.git?ref=refs/heads/main&rev=aff69d79e11cbfb40ea41636e882331499dab41a' (2024-03-24)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/3f7d0bca003eac1a1a7f4659bbab9c8f8c2a0958?narHash=sha256-c/gH7iXS/IYH9NrFOT%2BaJqTq%2BiEBkvAkpWuUHGU3%2Bf0%3D' (2024-02-22)
  → 'github:nixos/nixos-hardware/7559df1e4af972d5f1de87975b5ef6a8d7559db2?narHash=sha256-19KQXya5VERUXOdeEJJN%2BzOqtvuE6MV3qTk9Gr4J9Uo%3D' (2024-03-24)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/73de017ef2d18a04ac4bfd0c02650007ccb31c2a?narHash=sha256-sRTRkhMD4delO/hPxxi%2BXwLqPn8BuUq6nnj4JqLwOu0%3D' (2024-02-24)
  → 'github:nixos/nixpkgs/44d0940ea560dee511026a53f0e2e2cde489b4d4?narHash=sha256-YN/Ciidm%2BA0fmJPWlHBGvVkcarYWSC%2Bs3NTPk/P%2Bq3c%3D' (2024-03-23)
• Updated input 'nixvim':
    'github:nix-community/nixvim/8b013707cc1be375ae06fadd0ccb9eb1df277a10?narHash=sha256-pXi4kgnGTjwyFWENr/er4nEfzEoBFMkyeXC4d4a5Y3k%3D' (2024-02-27)
  → 'github:nix-community/nixvim/e7a3461fefd983ae3443e9aa849e9d1566ab47e4?narHash=sha256-DTzi4ujZoxM3ZXStCwD6Lph3FdGtkBlvfYsDCRITjfA%3D' (2024-03-24)
• Added input 'nixvim/devshell':
    'github:numtide/devshell/2d45b54ca4a183f2fdcf4b19c895b64fbf620ee8?narHash=sha256-HzpgM/wc3aqpnHJJ2oDqPBkNsqWbW0WfWUO8lKu8nGk%3D' (2024-03-22)
• Added input 'nixvim/devshell/flake-utils':
    'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725?narHash=sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8%3D' (2023-12-04)
• Added input 'nixvim/devshell/flake-utils/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e?narHash=sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768%3D' (2023-04-09)
• Added input 'nixvim/devshell/nixpkgs':
    follows 'nixvim/nixpkgs'
• Updated input 'nixvim/flake-parts':
    'github:hercules-ci/flake-parts/b253292d9c0a5ead9bc98c4e9a26c6312e27d69f?narHash=sha256-a0NYyp%2Bh9hlb7ddVz4LUn1vT/PLwqfrWYcHMvFB1xYg%3D' (2024-02-01)
  → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2?narHash=sha256-Dt/wOWeW6Sqm11Yh%2B2%2Bt0dfEWxoMxGBvv3JpIocFl9E%3D' (2024-03-01)
• Updated input 'nixvim/home-manager':
    'github:nix-community/home-manager/4ee704cb13a5a7645436f400b9acc89a67b9c08a?narHash=sha256-MSbxtF3RThI8ANs/G4o1zIqF5/XlShHvwjl9Ws0QAbI%3D' (2024-02-24)
  → 'github:nix-community/home-manager/1c2c5e4cabba4c43504ef0f8cc3f3dfa284e2dbb?narHash=sha256-WJOahf%2B6115%2BGMl3wUfURu8fszuNeJLv9qAWFQl3Vmo%3D' (2024-03-22)
• Updated input 'nixvim/nix-darwin':
    'github:lnl7/nix-darwin/bbde06bed1b72eddff063fa42f18644e90a0121e?narHash=sha256-sR/1cYjpgr71ZSrt6Kp5Dg4Ul3mo6pZIG400tuzYks8%3D' (2024-02-24)
  → 'github:lnl7/nix-darwin/bcc8afd06e237df060c85bad6af7128e05fd61a3?narHash=sha256-Wf3gHh5uV6W1TV/A8X8QJf99a5ypDSugY4sNtdJDe0A%3D' (2024-03-17)
• Updated input 'nixvim/pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/5df5a70ad7575f6601d91f0efec95dd9bc619431?narHash=sha256-M%2BNg6%2BSePmA8g06CmUZWi1AjG2tFBX9WCXElBHEKnyM%3D' (2024-02-15)
  → 'github:cachix/pre-commit-hooks.nix/e611897ddfdde3ed3eaac4758635d7177ff78673?narHash=sha256-6hOpUiuxuwpXXc/xfJsBUJeqqgGI%2BJMJuLo45aG3cKc%3D' (2024-03-20)
• Updated input 'nixvim/pre-commit-hooks/flake-utils':
    'github:numtide/flake-utils/4022d587cbbfd70fe950c1e2083a02621806a725?narHash=sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8%3D' (2023-12-04)
  → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a?narHash=sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ%3D' (2024-03-11)
• Updated input 'nixvim/pre-commit-hooks/gitignore':
    'github:hercules-ci/gitignore.nix/43e1aa1308018f37118e34d3a9cb4f5e75dc11d5?narHash=sha256-gGPa9qWNc6eCXT/%2BZ5/zMkyYOuRZqeFZBDbopNZQkuY%3D' (2023-12-29)
  → 'github:hercules-ci/gitignore.nix/637db329424fd7e46cf4185293b9cc8c88c95394?narHash=sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs%3D' (2024-02-28)
• Updated input 'stylix':
    'github:danth/stylix/fcff15ac5ffbe81f1c66e352f3167c270d79cdab?narHash=sha256-oMjkMjeNhDUEpKIofo9%2B9RdUnmmZ4h0sm%2Bkf6XKdy6k%3D' (2024-02-25)
  → 'github:danth/stylix/53d3e5d5b36a5227b906e00d7e884dcfb7852403?narHash=sha256-RyOvyQASi5lvKLH5ISiGGkdX1eJxYF25aQALGfN9U0k%3D' (2024-03-23)
2024-03-24 19:55:24 +01:00
config fixes 2024-02-29 21:24:55 +01:00
modules fixes 2024-02-28 16:20:45 +01:00
.gitignore gitignore 2024-01-12 15:14:17 +01:00
flake.lock flake.lock: Update 2024-03-24 19:55:24 +01:00
flake.nix fixes 2024-02-26 20:20:03 +01:00
README.md fixes 2024-02-28 22:43:20 +01:00

emilys Nix Infra

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> 

Deploy changes on ...

all hosts

$ colmena apply --on @production

routers only

$ colmena apply --on @router

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
└── modules             # NixOS modules