dotfiles/nixos/boxes/bolty/default.nix

31 lines
687 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-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";
}