nixfiles/hosts/raspberry/raspberry.nix

29 lines
553 B
Nix
Raw Normal View History

2023-09-18 03:56:58 +01:00
{tree, ...}: {
2023-09-13 19:26:50 +01:00
imports = with tree;
[
2023-09-18 03:56:58 +01:00
presets.nixos.serverBase
2023-09-13 19:26:50 +01:00
2023-09-14 19:44:27 +01:00
profiles.nginx
2023-09-18 03:56:58 +01:00
profiles.firewallAllow.httpCommon
2023-09-13 19:26:50 +01:00
2023-09-18 03:56:58 +01:00
profiles.chaosInternalWireGuard
2023-09-13 19:26:50 +01:00
./secrets.nix
./boot.nix
]
++ (with hosts.raspberry.profiles; [
2023-09-18 03:56:58 +01:00
externalDrive
autoStorageBackups
rclone
2023-09-13 19:26:50 +01:00
]);
2023-09-18 03:56:58 +01:00
networking.enableIPv6 = true;
networking.useDHCP = true;
2022-01-24 16:50:53 +00:00
networking.hostName = "raspberry";
time.timeZone = "Europe/London";
home-manager.users.root.home.stateVersion = "24.05";
system.stateVersion = "24.05";
}