dotfiles/nixos/boxes/bolty/default.nix
2024-08-24 21:49:15 +01:00

37 lines
895 B
Nix

{
lib,
pkgs,
...
}: {
imports = [
../cli.nix
../send-logs.nix
./bolty-boot.nix
./grafana.nix
./home-assistant.nix
./home-security.nix
./influxdb.nix
./logs.nix
./nas.nix
./networking.nix
./nix-store-server.nix
./print-server.nix
./real-hardware.nix
./restic-server.nix
./tailscale-cert.nix
./virtualisation.nix
./syncthing.nix
];
boot.binfmt.emulatedSystems = ["aarch64-linux"];
programs.ccache.enable = true;
networking.hostName = "bolty";
networking.hostId = "f05dd3b4";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
time.timeZone = "Europe/London";
users.extraUsers.root.openssh.authorizedKeys.keys = ["ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPbJNY48F1Vn11aDX5hJSj4oS2NIKEH2busqoyQTLIvk cyryl@bolty"];
users.users.cyryl = {
home = "/data/home/cyryl";
createHome = true;
};
}