{ config, lib, pkgs, ... }: { imports = [ ./bitcoind.nix ./ddns-updater.nix ./filebrowser.nix ./fileshares.nix ./gitea.nix ./immich.nix ./jellyfin.nix ./networking.nix ./nvidia.nix #./notification-mailer.nix # TODO move some of this stuff to archetype ]; # Allow unfree packages for nvidia/cuda nixpkgs.config.allowUnfree = true; # Setup bootloader boot._loader.enable = true; # Enable common options _archetypes = { profiles = { headless = { enable = true; home.users.timmy.enable = true; }; zfs.enable = true; cuda.enable = true; }; }; # Import zfs pools boot.zfs.extraPools = [ "ingens" "memoria" ]; # 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"; }