commit 17c0056e588506e72a09b01b266b50c8fa9f28cd
parent 76d17846e45718d73b83f2c08a0d8e7e59fa172d
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Wed, 16 Apr 2025 19:06:50 +0200
feat: make 'directory' options writable
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/nixos/quark/default.nix b/modules/nixos/quark/default.nix
@@ -20,7 +20,6 @@
directory = lib.mkOption {
description = "The root directory to statically host.";
default = "/var/www";
- readOnly = true;
type = lib.types.uniq lib.types.path;
};
user = lib.mkOption {
@@ -52,7 +51,7 @@
isSystemUser = true;
group = "quark";
createHome = true;
- home = config.modules.quark.directory;
+ home = "/var/www";
};
};
groups = {