Standardize formatting of imports, options, config

This commit is contained in:
Vice 2025-03-05 06:28:38 -05:00
parent 297b57bbaa
commit fc47b1a9ab
4 changed files with 7 additions and 7 deletions

View file

@ -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";
}

View file

@ -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 {

View file

@ -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";
}

View file

@ -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";
}