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 inherit (builtins.extraBuiltins) pass;
8 deployment = builtins.getAttr
9 ( lib.maybeEnv "NIXOPS_DEPLOYMENT" "production")
19 # This value determines the NixOS release with which your system is to be
20 # compatible, in order to avoid breaking some software such as database
21 # servers. You should change this only after NixOS release notes say you should.
22 system.stateVersion = "19.09"; # Did you read the comment?
24 nixpkgs.overlays = import ../overlays.nix;
27 [ ../nixos/defaults.nix
36 domain = "sourcephile.fr";
43 initialPassword = password;
44 password = pass "servers/mermet/login/root";
45 openssh.authorizedKeys.keys = [
46 (pass "members/julm/ssh.pub")
55 systemPackages = with pkgs; [