]> Git — Sourcephile - sourcephile-nix.git/blob - servers/losurdo.nix
transmission: improve the service
[sourcephile-nix.git] / servers / losurdo.nix
1 # NixOS configuration of losurdo.sourcephile.fr
2 #
3 # Show configuration options with, for example:
4 # nix-instantiate servers/losurdo.nix --eval -A config.networking.hostName
5 # or:
6 # nix eval servers.losurdo.config.networking.hostName
7 # Install/upgrade with:
8 # nix run install -f servers/losurdo.nix
9 # or:
10 # nix run servers.losurdo.install
11 let
12 ipv4 = "80.67.180.251";
13 system = import <nixpkgs/nixos/lib/eval-config.nix> {
14 system = "x86_64-linux";
15 modules = [
16 ../nixos/defaults.nix
17 ../nixos/profiles/services/unbound.nix
18 losurdo/acme.nix
19 losurdo/debug.nix
20 losurdo/fail2ban.nix
21 losurdo/fileSystems.nix
22 losurdo/hardware.nix
23 losurdo/networking.nix
24 losurdo/postgresql.nix
25 losurdo/sanoid.nix
26 losurdo/security.nix
27 losurdo/syncoid.nix
28 losurdo/system.nix
29 losurdo/transmission.nix
30 losurdo/users.nix
31 ];
32 extraArgs = {
33 name = "losurdo";
34 inherit ipv4;
35 servers = import ../servers.nix;
36 };
37 };
38 in system // {
39 inherit ipv4;
40 install = system.config.install.ssh-nixos.script;
41 }