at 25.11-pre 483 B view raw
1{ 2 network = { 3 description = "Legacy Network using <nixpkgs> and legacy state."; 4 # NB this is not really what makes it a legacy network; lack of flakes is. 5 storage.legacy = { }; 6 }; 7 server = 8 { lib, pkgs, ... }: 9 { 10 deployment.targetEnv = "none"; 11 imports = [ 12 ./base-configuration.nix 13 (lib.modules.importJSON ./server-network.json) 14 ]; 15 environment.systemPackages = [ 16 pkgs.hello 17 pkgs.figlet 18 ]; 19 }; 20}