dotfiles/nixos/boxes/bolty/default.nix

33 lines
731 B
Nix
Raw Normal View History

2021-10-01 10:06:37 +01:00
{ config, pkgs, inputs, lib, ... }:
{
imports = [
./bolty-boot.nix
./real-hardware.nix
./tailscale-bolty.nix
../../server-security.nix
../../tailscale.nix
../cli.nix
./print-server.nix
2021-10-01 10:18:25 +01:00
./restic-server.nix
2021-10-30 10:22:04 +01:00
./matrix-server.nix
2022-02-22 20:41:49 +00:00
./nextcloud.nix
2021-10-01 10:06:37 +01:00
];
2021-10-17 10:51:24 +01:00
services.syncthing = {
enable = true;
dataDir = "/data/syncthing";
openDefaultPorts = true;
package = inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
};
2021-10-01 10:06:37 +01:00
networking = {
hostName = "bolty";
useDHCP = false;
interfaces.enp4s0.useDHCP = true;
};
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
security.allowUserNamespaces = true;
time.timeZone = "Europe/London";
}