mirror of
https://github.com/RGBCube/ncc
synced 2025-07-30 11:37:44 +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 {
|
mailserver = enabled {
|
||||||
inherit domain fqdn;
|
inherit fqdn;
|
||||||
|
|
||||||
domains = [ domain ];
|
domains = [ domain ];
|
||||||
certificateScheme = "acme";
|
certificateScheme = "acme";
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
(let
|
(let
|
||||||
gitDomain = self.cube.services.forgejo.fqdn;
|
gitDomain = self.cube.services.forgejo.fqdn;
|
||||||
mailDomain = self.disk.mailserver.domain;
|
mailDomain = head self.disk.mailserver.domains;
|
||||||
in homeConfiguration {
|
in homeConfiguration {
|
||||||
programs.nushell.configFile.text = mkAfter ''
|
programs.nushell.configFile.text = mkAfter ''
|
||||||
# Sets the remote origin to the specified user and repository on my git instance
|
# Sets the remote origin to the specified user and repository on my git instance
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
{ lib, ... }: {
|
{ lib, ... }: {
|
||||||
options = {
|
options.services.forgejo.fqdn = lib.mkValue null;
|
||||||
mailserver.domain = lib.mkValue null;
|
|
||||||
|
|
||||||
services.forgejo.fqdn = lib.mkValue null;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue