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, ... }:
|
||||
{
|
||||
options.system.mailserver.enable = lib.mkEnableOption "Enable Simple NixOS Mailserver";
|
||||
|
||||
imports = [
|
||||
./go-autoconfig
|
||||
./roundcube
|
||||
./simplenix
|
||||
];
|
||||
|
||||
options.system.mailserver.enable = lib.mkEnableOption "Enable Simple NixOS Mailserver";
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{ config, lib, minecraft, ... }:
|
||||
{
|
||||
imports = [
|
||||
minecraft.nixosModules.minecraft-servers
|
||||
./servers/default.nix
|
||||
minecraft.nixosModules.minecraft-servers
|
||||
];
|
||||
|
||||
config = lib.mkIf config.system.server.enable {
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options.system.socialserver.enable = lib.mkEnableOption "Enable social media like services";
|
||||
|
||||
imports = [
|
||||
./mastodon
|
||||
./matrix
|
||||
./owncast
|
||||
];
|
||||
|
||||
options.system.socialserver.enable = lib.mkEnableOption "Enable social media like services";
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
options.system.webserver.enable = lib.mkEnableOption "Enable nginx related services";
|
||||
|
||||
imports = [
|
||||
./acme
|
||||
./nginx
|
||||
];
|
||||
|
||||
options.system.webserver.enable = lib.mkEnableOption "Enable nginx related services";
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue