infrastructure/machines/public-cof/configuration.nix

62 lines
1.2 KiB
Nix
Raw Normal View History

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
./monitoring.nix
2022-10-27 22:31:47 +02:00
./garage.nix
2021-11-13 01:48:32 +01:00
./nextcloud.nix
./outline.nix
./lychee.nix
2021-11-13 01:52:04 +01:00
./minecraft.nix
# ./rstudio-server
2021-11-15 00:54:27 +01:00
./nur.nix
2021-11-13 02:52:16 +01:00
# ./factorio.nix # TODO
./nginx.nix
# ./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
./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"
"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 = [
../pubkeys/gdd.keys
../pubkeys/raito.keys
../pubkeys/mrf.keys
2021-11-13 00:59:59 +01:00
];
system.stateVersion = "21.05";
}