Files
2024-08-23 09:59:24 -04:00

20 lines
347 B
Nix

{ config, lib, ... }:
with lib;
let cfg = config.skyg.server.admin;
in {
options = {
skyg.server.admin = {
enable = mkEnableOption
"Enable special linux user & groups";
};
};
config = mkIf cfg.enable {
users.groups.www-data = {
gid = 33;
members = [
config.skyg.user.name
];
};
};
}