{ config, lib, pkgs, ... }: { imports = [ ./ddns-updater.nix ./fileshares.nix ./networking.nix #./notification-mailer.nix # TODO move some of this stuff to archetype ./wg1.nix ]; # Setup bootloader boot._loader.enable = true; # Enable common options _archetypes = { profiles = { headless = { enable = true; home.users.timmy.enable = true; }; zfs.enable = true; router.enable = true; }; collections = { development.docker.enable = true; }; }; # Enable smartd services.smartd.enable = true; # TODO move to archetype # Enable web services # services = { # _cgit = { # enable = true; # hostAddress = "192.168.1.10"; # localAddress = "192.168.1.11"; # rootTitle = "PowerEdge local cgit"; # # TODO add authorizedKeys # }; # }; # #services._klipper.enable = true; # Enable user timmy _users.timmy.enable = true; # Without this, "ZFS requires networking.hostId to be set" will be raised networking.hostId = "4d9e002f"; system.stateVersion = "25.11"; }