From 7b8c6d9ed82976632eb2514b85cb4875d2b55f12 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Fri, 17 Oct 2025 14:22:00 -0400 Subject: [PATCH] fixes --- modules/common/nh.nix | 2 +- modules/server/continuwuity.nix | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) 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 = { }; }; };