2021-11-13 01:52:04 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
2021-11-13 00:59:59 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./programs.nix
|
|
|
|
./system.nix
|
2021-11-13 01:48:32 +01:00
|
|
|
./acme.nix
|
2021-11-13 00:59:59 +01:00
|
|
|
./networking.nix
|
2022-03-05 23:16:54 +01:00
|
|
|
./monitoring.nix
|
2022-10-27 22:31:47 +02:00
|
|
|
./garage.nix
|
2021-11-13 01:48:32 +01:00
|
|
|
./nextcloud.nix
|
2022-10-29 17:32:10 +02:00
|
|
|
./outline.nix
|
2022-12-13 22:23:35 +01:00
|
|
|
./lychee.nix
|
2021-11-13 01:52:04 +01:00
|
|
|
./minecraft.nix
|
2022-09-10 16:16:29 +02:00
|
|
|
# ./rstudio-server
|
2021-11-15 00:54:27 +01:00
|
|
|
./nur.nix
|
2021-11-13 02:52:16 +01:00
|
|
|
# ./factorio.nix # TODO
|
2021-11-13 02:51:54 +01:00
|
|
|
./nginx.nix
|
2022-06-26 23:48:43 +02:00
|
|
|
# ./cryptpad.nix
|
2021-11-14 23:56:00 +01:00
|
|
|
./hedgedoc.nix
|
2022-10-27 22:31:47 +02:00
|
|
|
# ./kanboard.nix
|
2021-11-15 00:54:27 +01:00
|
|
|
./secrets
|
2022-09-10 15:29:51 +02:00
|
|
|
./v6proxy
|
2021-11-13 00:59:59 +01:00
|
|
|
# TODO monitoring
|
|
|
|
];
|
|
|
|
|
2021-11-13 01:52:04 +01:00
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"minecraft-server"
|
2021-11-13 01:52:22 +01:00
|
|
|
"factorio-headless"
|
2022-10-29 17:32:10 +02:00
|
|
|
"outline"
|
2021-11-13 01:52:04 +01:00
|
|
|
];
|
2021-11-13 01:52:22 +01:00
|
|
|
|
2021-11-13 00:59:59 +01:00
|
|
|
boot.loader.systemd-boot.enable = true;
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Paris";
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_US.UTF-8";
|
|
|
|
console = {
|
|
|
|
font = "Lat2-Terminus16";
|
|
|
|
keyMap = "us";
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.mtr.enable = true;
|
|
|
|
programs.gnupg.agent = {
|
|
|
|
enable = true;
|
|
|
|
enableSSHSupport = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
# Enable the OpenSSH daemon.
|
|
|
|
services.openssh.enable = true;
|
|
|
|
users.users.root.openssh.authorizedKeys.keyFiles = [
|
2022-08-16 01:59:59 +02:00
|
|
|
../pubkeys/gdd.keys
|
|
|
|
../pubkeys/raito.keys
|
|
|
|
../pubkeys/mrf.keys
|
2021-11-13 00:59:59 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
system.stateVersion = "21.05";
|
|
|
|
}
|