]> Git — Sourcephile - sourcephile-nix.git/blob - servers/losurdo.nix
apparmor: publich and use PR#93457
[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/nginx.nix
25 losurdo/postgresql.nix
26 losurdo/sanoid.nix
27 losurdo/security.nix
28 losurdo/syncoid.nix
29 losurdo/system.nix
30 losurdo/transmission.nix
31 losurdo/users.nix
32 ];
33 extraArgs = {
34 name = "losurdo";
35 inherit ipv4;
36 servers = import ../servers.nix;
37 };
38 };
39 in system // {
40 inherit ipv4;
41 install = system.config.install.ssh-nixos.script;
42 }