From 81478b113893c3ce010b920ce2d6b7465e6e81ff Mon Sep 17 00:00:00 2001 From: kurogeek Date: Thu, 16 Oct 2025 17:00:11 +0700 Subject: [PATCH] mob next [ci-skip] [ci skip] [skip ci] lastFile:machines/neptune/configuration.nix --- machines/neptune/configuration.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 machines/neptune/configuration.nix 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; + }; +}