blob: c76ef6c6d1f4f45adce1b5b8dd07dcfb1494bf44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Copyright 2026 HedronFire Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-user
DESCRIPTION="User for Claude Code"
# Package name follows the provider; preserve the existing Unix identity/home.
ACCT_USER_NAME=claude
ACCT_USER_ID=1302
ACCT_USER_ENFORCE_ID=1
ACCT_USER_GROUPS=( claude cortex )
ACCT_USER_HOME=/var/lib/claude
ACCT_USER_HOME_PERMS=0700
ACCT_USER_SHELL=/sbin/nologin
acct-user_add_deps
# acct-user uses Unix group names; the provider-named package owns this group.
RDEPEND="${RDEPEND//acct-group\/claude/acct-group\/claude-code}"
RDEPEND+=" acct-user/cortex"
|