2022-08-21 22:53:04 +00:00
|
|
|
{
|
2023-06-12 15:06:55 +00:00
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
2023-10-01 20:23:58 +00:00
|
|
|
./network.nix
|
|
|
|
./network-dhcp.nix
|
|
|
|
./avahi-reflector.nix
|
|
|
|
./unifi.nix
|
|
|
|
|
2023-06-12 15:06:55 +00:00
|
|
|
./home-controller.nix
|
|
|
|
./home-assistant.nix
|
2023-10-01 20:23:58 +00:00
|
|
|
|
|
|
|
./frigate.nix
|
|
|
|
|
|
|
|
# ./tang-container.nix
|
2023-06-12 15:06:55 +00:00
|
|
|
];
|
2022-08-21 22:53:04 +00:00
|
|
|
|
|
|
|
boot.loader.timeout = 0;
|
2023-10-01 20:23:58 +00:00
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
2022-08-21 22:53:04 +00:00
|
|
|
boot.loader.generic-extlinux-compatible.enable = lib.mkForce false;
|
|
|
|
boot.loader.grub = {
|
|
|
|
enable = true;
|
|
|
|
efiSupport = true;
|
|
|
|
efiInstallAsRemovable = true;
|
|
|
|
device = "nodev";
|
|
|
|
};
|
|
|
|
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
|
|
|
|
system.stateVersion = "22.11"; # Did you read the comment?
|
|
|
|
}
|