diff --git a/machines/neptune/configuration.nix b/machines/neptune/configuration.nix new file mode 100644 index 0000000..3b14865 --- /dev/null +++ b/machines/neptune/configuration.nix @@ -0,0 +1,22 @@ +{ inputs, config, ... }: +{ + imports = [ + (inputs.import-tree ./services) + ]; + nixpkgs.hostPlatform = { + system = "x86_64-linux"; + }; + boot.loader.grub.devices = [ "/dev/disk/by-id/FIXME" ]; + fileSystems = { + "/".device = "/dev/FIXME"; + }; + networking.fqdn = "b4l.co.th"; + system.stateVersion = "25.11"; + clan.core.sops.defaultGroups = [ "admins" ]; + + security.acme.defaults.email = "admin@b4l.co.th"; + security.acme.acceptTerms = true; + services.nginx.virtualHosts."${config.networking.fqdn}" = { + enableACME = true; + }; +}