]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/losurdo.nix
carotte: fix CORENAME_MAX_SIZE
[sourcephile-nix.git] / hosts / losurdo.nix
1 # NixOS configuration of losurdo.sourcephile.fr
2 # Domenico Losurdo (1941-2018), historian for the working class
3 # https://www.monde-diplomatique.fr/2018/10/FONDU/59128
4 { inputs, nixpkgsPath, ... }:
5 rec {
6 system = "x86_64-linux";
7 # Define pkgs explicitely to be able to set allowUnfree
8 pkgs = import nixpkgsPath {
9 inherit system;
10 config.allowUnfree = true; # For hplip
11 overlays =
12 import ../nixpkgs/overlays.nix ++
13 import (inputs.julm-nix + "/nixpkgs/overlays.nix");
14 };
15 #config.allowUnfree = true;
16 extraArgs = {
17 CPUs = 2;
18 };
19 modules = [
20 ../nixos/defaults.nix
21 ../nixos/profiles/systems/builder.nix
22 ../nixos/profiles/systems/debug.nix
23 losurdo/acme.nix
24 losurdo/apc.nix
25 #losurdo/discourse.nix
26 losurdo/fail2ban.nix
27 losurdo/fileSystems.nix
28 #losurdo/freeciv.nix
29 losurdo/gitolite.nix
30 losurdo/hardware.nix
31 losurdo/networking.nix
32 losurdo/nginx.nix
33 losurdo/postfix.nix
34 losurdo/postgresql.nix
35 losurdo/prometheus.nix
36 losurdo/sanoid.nix
37 losurdo/security.nix
38 #losurdo/sourcehut.nix
39 losurdo/sftp.nix
40 losurdo/syncoid.nix
41 losurdo/system.nix
42 losurdo/transmission.nix
43 losurdo/unbound.nix
44 losurdo/users.nix
45 (inputs.secrets + "/hosts/losurdo/users.nix")
46 losurdo/xserver.nix
47 ];
48 }