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