diff options
Diffstat (limited to 'modules/by-name/ad/adb/module.nix')
| -rw-r--r-- | modules/by-name/ad/adb/module.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/modules/by-name/ad/adb/module.nix b/modules/by-name/ad/adb/module.nix index ec5d4be6..cf13168a 100644 --- a/modules/by-name/ad/adb/module.nix +++ b/modules/by-name/ad/adb/module.nix @@ -1,3 +1,12 @@ +# nixos-config - My current NixOS configuration +# +# Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +# SPDX-License-Identifier: GPL-3.0-or-later +# +# This file is part of my nixos-config. +# +# You should have received a copy of the License along with this program. +# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. { lib, config, @@ -17,6 +26,10 @@ in { config = lib.mkIf cfg.enable { programs.adb.enable = true; - users.users."${cfg.user}".extraGroups = ["adbusers"]; + + users = { + users."${cfg.user}".extraGroups = ["adbusers"]; + groups.adbusers.gid = config.soispha.constants.ids.gids.adbusers; + }; }; } |
