dotfiles/nixos/boxes/bolty/default.nix

31 lines
710 B
Nix
Raw Normal View History

2022-03-10 12:25:23 +00:00
{ config, pkgs, inputs, lib, ... }: {
2021-10-01 10:06:37 +01:00
imports = [
./bolty-boot.nix
./real-hardware.nix
../cli.nix
2021-10-30 10:22:04 +01:00
./matrix-server.nix
2022-02-22 20:41:49 +00:00
./nextcloud.nix
2022-04-09 12:01:03 +01:00
./print-server.nix
./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;
2022-03-10 12:25:23 +00:00
package =
inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".syncthing;
2021-10-17 10:51:24 +01:00
};
2022-03-02 11:59:09 +00:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
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";
}