1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-29 19:17:45 +00:00

Use lib.head even more instead of defining custom options

This commit is contained in:
RGBCube 2024-04-30 12:56:08 +03:00
parent 15f5859956
commit c734c4b06c
No known key found for this signature in database
3 changed files with 3 additions and 7 deletions

View file

@ -28,7 +28,7 @@ in systemConfiguration {
};
mailserver = enabled {
inherit domain fqdn;
inherit fqdn;
domains = [ domain ];
certificateScheme = "acme";

View file

@ -66,7 +66,7 @@
(let
gitDomain = self.cube.services.forgejo.fqdn;
mailDomain = self.disk.mailserver.domain;
mailDomain = head self.disk.mailserver.domains;
in homeConfiguration {
programs.nushell.configFile.text = mkAfter ''
# Sets the remote origin to the specified user and repository on my git instance

View file

@ -1,7 +1,3 @@
{ lib, ... }: {
options = {
mailserver.domain = lib.mkValue null;
services.forgejo.fqdn = lib.mkValue null;
};
options.services.forgejo.fqdn = lib.mkValue null;
}