at 23.11-pre 439 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 = { lib, pkgs, ... }: { 8 deployment.targetEnv = "none"; 9 imports = [ 10 ./base-configuration.nix 11 (lib.modules.importJSON ./server-network.json) 12 ]; 13 environment.systemPackages = [ pkgs.hello pkgs.figlet ]; 14 }; 15}