feat: Convert to a multi-host flake
This commit is contained in:
parent
c20fd46f9f
commit
b717ea973a
14 changed files with 416 additions and 27 deletions
|
|
@ -1,17 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
hostConfigs = {
|
||||
crossbox = [ ./crossbox.nix ./sdr.nix ./syncthing.nix ./forgejo.nix ./radicale.nix ./ollama.nix #./docuseal.nix
|
||||
./nginx.nix ];
|
||||
anvil = [ ./anvil.nix ./sdr.nix ./vpn.nix ./syncthing.nix ./staging.nginx.nix ];
|
||||
};
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
] ++ hostConfigs.crossbox;
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nix.gc = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue