infrastructure/machines/public-cof/configuration.nix

39 lines
726 B
Nix
Raw Normal View History

2021-11-13 00:59:59 +01:00
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
./programs.nix
./system.nix
./networking.nix
# TODO monitoring
];
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
];
system.stateVersion = "21.05";
}