dotfiles/nixos/boxes/bolty/default.nix
2022-02-22 20:41:49 +00:00

32 lines
731 B
Nix

{ config, pkgs, inputs, lib, ... }:
{
imports = [
./bolty-boot.nix
./real-hardware.nix
./tailscale-bolty.nix
../../server-security.nix
../../tailscale.nix
../cli.nix
./print-server.nix
./restic-server.nix
./matrix-server.nix
./nextcloud.nix
];
services.syncthing = {
enable = true;
dataDir = "/data/syncthing";
openDefaultPorts = true;
package = inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
};
networking = {
hostName = "bolty";
useDHCP = false;
interfaces.enp4s0.useDHCP = true;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
security.allowUserNamespaces = true;
time.timeZone = "Europe/London";
}