diff --git a/modules/common/nh.nix b/modules/common/nh.nix index eb279af..1b26caf 100644 --- a/modules/common/nh.nix +++ b/modules/common/nh.nix @@ -7,7 +7,7 @@ environment.shellAliases = let - build = "nixos-rebuild switch --flake ~/.config/nixos#quadraticserver server --ask-sudo-password --target-host "; + build = "nixos-rebuild switch --flake ~/.config/nixos#quadraticserver --sudo --ask-sudo-password --target-host "; in { clean = "nh clean all"; diff --git a/modules/server/continuwuity.nix b/modules/server/continuwuity.nix index a3c1059..7afd8a0 100644 --- a/modules/server/continuwuity.nix +++ b/modules/server/continuwuity.nix @@ -1,11 +1,19 @@ -{ config, lib, ... }: +{ + config, + pkgs, + lib, + ... +}: { options.quad.matrix = { enable = lib.mkEnableOption "matrix"; domain = lib.mkOption { type = lib.types.string; }; settings = lib.mkOption { - type = lib.types.submodule { }; + type = lib.types.submodule { + freeformType = (pkgs.formats.toml { }).type; + + }; default = { }; }; };