summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acct-user/cynerd/cynerd-0.1.ebuild8
-rw-r--r--profiles/host-errol/package.use2
2 files changed, 6 insertions, 4 deletions
diff --git a/acct-user/cynerd/cynerd-0.1.ebuild b/acct-user/cynerd/cynerd-0.1.ebuild
index 9287959..61010b3 100644
--- a/acct-user/cynerd/cynerd-0.1.ebuild
+++ b/acct-user/cynerd/cynerd-0.1.ebuild
@@ -3,7 +3,7 @@ EAPI=7
inherit acct-user
DESCRIPTION="Personal user for Cynerd"
-IUSE="cups docker desktop lxd wireshark roccat build"
+IUSE="cups docker desktop server lxd wireshark roccat"
ACCT_USER_ID=1000
ACCT_USER_SHELL=/bin/zsh
@@ -26,11 +26,11 @@ RDEPEND="
acct-group/input
acct-group/plugdev
)
+ server? ( acct-group/build )
docker? ( acct-group/docker )
lxd? ( app-emulation/lxd )
wireshark? ( net-analyzer/wireshark )
roccat? ( sys-apps/roccat-tools )
- build? ( acct-group/build )
"
acct-user_add_deps
@@ -41,6 +41,8 @@ pkg_setup() {
ACCT_USER_GROUPS+=( lp lpadmin )
use desktop && \
ACCT_USER_GROUPS+=( audio pulse pulse-access video input plugdev )
+ use server && \
+ ACCT_USER_GROUPS+=( build )
use docker && \
ACCT_USER_GROUPS+=( docker )
use lxd && \
@@ -49,8 +51,6 @@ pkg_setup() {
ACCT_USER_GROUPS+=( wireshark )
use roccat && \
ACCT_USER_GROUPS+=( roccat )
- use build && \
- ACCT_USER_GROUPS+=( build )
true
}
diff --git a/profiles/host-errol/package.use b/profiles/host-errol/package.use
index 980e75d..6a31f5f 100644
--- a/profiles/host-errol/package.use
+++ b/profiles/host-errol/package.use
@@ -1,3 +1,5 @@
+acct-user/cynerd server
+
# Kernel and initramfs
sys-boot/myinitramfs dmi
sys-kernel/linux initramfs ucode