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:
parent
15f5859956
commit
c734c4b06c
3 changed files with 3 additions and 7 deletions
|
@ -28,7 +28,7 @@ in systemConfiguration {
|
|||
};
|
||||
|
||||
mailserver = enabled {
|
||||
inherit domain fqdn;
|
||||
inherit fqdn;
|
||||
|
||||
domains = [ domain ];
|
||||
certificateScheme = "acme";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
{ lib, ... }: {
|
||||
options = {
|
||||
mailserver.domain = lib.mkValue null;
|
||||
|
||||
services.forgejo.fqdn = lib.mkValue null;
|
||||
};
|
||||
options.services.forgejo.fqdn = lib.mkValue null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue