]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/losurdo.nix
losurdo: drop gnupg at runtime in favor of systemd-creds
[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 modules = [
16 {
17 config._module.args = {
18 CPUs = 2;
19 };
20 }
21 ../nixos/defaults.nix
22 (inputs.julm-nix + "/nixos/profiles/builder.nix")
23 ../nixos/profiles/systems/debug.nix
24 losurdo/acme.nix
25 losurdo/apc.nix
26 #losurdo/discourse.nix
27 losurdo/fail2ban.nix
28 losurdo/fileSystems.nix
29 #losurdo/freeciv.nix
30 losurdo/gitolite.nix
31 losurdo/hardware.nix
32 losurdo/networking.nix
33 losurdo/nginx.nix
34 losurdo/postfix.nix
35 losurdo/postgresql.nix
36 losurdo/prometheus.nix
37 losurdo/sanoid.nix
38 losurdo/security.nix
39 #losurdo/sourcehut.nix
40 losurdo/sftp.nix
41 losurdo/syncoid.nix
42 losurdo/system.nix
43 losurdo/transmission.nix
44 losurdo/unbound.nix
45 losurdo/users.nix
46 (inputs.secrets + "/hosts/losurdo/users.nix")
47 losurdo/xserver.nix
48 ];
49 }