Standardize formatting of imports, options, config
This commit is contained in:
parent
297b57bbaa
commit
fc47b1a9ab
4 changed files with 7 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
options.system.mailserver.enable = lib.mkEnableOption "Enable Simple NixOS Mailserver";
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./go-autoconfig
|
./go-autoconfig
|
||||||
./roundcube
|
./roundcube
|
||||||
./simplenix
|
./simplenix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
options.system.mailserver.enable = lib.mkEnableOption "Enable Simple NixOS Mailserver";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{ config, lib, minecraft, ... }:
|
{ config, lib, minecraft, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
minecraft.nixosModules.minecraft-servers
|
|
||||||
./servers/default.nix
|
./servers/default.nix
|
||||||
|
minecraft.nixosModules.minecraft-servers
|
||||||
];
|
];
|
||||||
|
|
||||||
config = lib.mkIf config.system.server.enable {
|
config = lib.mkIf config.system.server.enable {
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
options.system.socialserver.enable = lib.mkEnableOption "Enable social media like services";
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./mastodon
|
./mastodon
|
||||||
./matrix
|
./matrix
|
||||||
./owncast
|
./owncast
|
||||||
];
|
];
|
||||||
|
|
||||||
|
options.system.socialserver.enable = lib.mkEnableOption "Enable social media like services";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
options.system.webserver.enable = lib.mkEnableOption "Enable nginx related services";
|
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./acme
|
./acme
|
||||||
./nginx
|
./nginx
|
||||||
];
|
];
|
||||||
|
|
||||||
|
options.system.webserver.enable = lib.mkEnableOption "Enable nginx related services";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue