1 # This is the root configuration of the target machine.
2 # Usable by nixos-install and used by nixops.
3 # It is NOT copied nor usable on the target machine,
4 # only the resulting closure is copied to the target machine.
5 {pkgs, lib, config, options, nodes, resources, ...}:
7 deployment = builtins.getAttr
8 ( lib.maybeEnv "NIXOPS_DEPLOYMENT" "production")
12 mermet/machine/apu2e4.nix
13 mermet/hosting/ptt.nix
16 mermet/machine/virtualbox.nix
17 mermet/hosting/localhost.nix
22 nixpkgs.overlays = import ../overlays.nix;
24 [ ../nixos/defaults.nix