9a0c9c615c
Co-authored-by: sinavir <sinavir@sinavir.fr> Reviewed-on: https://git.rz.ens.wtf/Klub-RZ/infrastructure/pulls/15 Co-authored-by: sinavir <maurice.debray@ens.fr> Co-committed-by: sinavir <maurice.debray@ens.fr>
61 lines
1.2 KiB
Nix
61 lines
1.2 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
./hardware-configuration.nix
|
|
./programs.nix
|
|
./system.nix
|
|
./acme.nix
|
|
./networking.nix
|
|
./monitoring.nix
|
|
./garage.nix
|
|
./nextcloud.nix
|
|
./outline.nix
|
|
./lychee.nix
|
|
./minecraft.nix
|
|
# ./rstudio-server
|
|
./nur.nix
|
|
# ./factorio.nix # TODO
|
|
./nginx.nix
|
|
# ./cryptpad.nix
|
|
./hedgedoc.nix
|
|
# ./kanboard.nix
|
|
./secrets
|
|
./v6proxy
|
|
# TODO monitoring
|
|
];
|
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
"minecraft-server"
|
|
"factorio-headless"
|
|
"outline"
|
|
];
|
|
|
|
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
|
|
];
|
|
|
|
system.stateVersion = "21.05";
|
|
}
|