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
6 # NixOps extra module inputs
7 , nodes, name, uuid, resources
9 let inherit (builtins.extraBuiltins) pass pass-chomp; in
11 # This value determines the NixOS release with which your system is to be
12 # compatible, in order to avoid breaking some software such as database servers.
13 # You should change this only after NixOS release notes say you should.
14 system.stateVersion = "19.09"; # Did you read the comment?
16 nixpkgs.overlays = import ../overlays.nix;
19 [ ../nixos/defaults.nix
35 domainBase = "sourcephile";
36 domain = "${domainBase}.fr";
43 initialPassword = password;
44 password = pass-chomp "servers/mermet/login/root";
45 openssh.authorizedKeys.keys = [
46 (pass "members/julm/ssh.pub")
55 systemPackages = with pkgs; [