From b27ff67a144b179d69a579b0bd1963ec4ff130d2 Mon Sep 17 00:00:00 2001 From: pinpox Date: Tue, 19 Aug 2025 22:46:30 +0200 Subject: [PATCH] Add type to group and owner vars options --- nixosModules/clanCore/vars/interface.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixosModules/clanCore/vars/interface.nix b/nixosModules/clanCore/vars/interface.nix index 7adb1fb07..2ed7b9b5e 100644 --- a/nixosModules/clanCore/vars/interface.nix +++ b/nixosModules/clanCore/vars/interface.nix @@ -290,9 +290,11 @@ in }; owner = mkOption { description = "The user name or id that will own the file."; + type = str; default = "root"; }; group = mkOption { + type = str; description = "The group name or id that will own the file."; default = if _class == "darwin" then "wheel" else "root"; defaultText = lib.literalExpression ''if _class == "darwin" then "wheel" else "root"'';