aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-04-03 20:09:56 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-04-03 20:09:56 +0000
commit1ba9c51c8c8e349ebe5e7b6dd7b48e7d1a2aa396 (patch)
treef59d8b7fee00f793b7f8050f4eac979036fde0be /roles/_workstation
parent472ae9da8df52c43dd2b47de4ad70a446325f91c (diff)
downloadinfrastructure-1ba9c51c8c8e349ebe5e7b6dd7b48e7d1a2aa396.tar.gz
Add daemons and groups for voidlinux
Diffstat (limited to 'roles/_workstation')
-rw-r--r--roles/_workstation/sysconf/tasks/_void.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/_workstation/sysconf/tasks/_void.yml b/roles/_workstation/sysconf/tasks/_void.yml
new file mode 100644
index 0000000..058f7c3
--- /dev/null
+++ b/roles/_workstation/sysconf/tasks/_void.yml
@@ -0,0 +1,21 @@
+
+# workstation ~~ roles/_workstation/sysconf/tasks/_voidlinux.yml
+# init voidlinux based workstation
+
+---
+
+- name: ensure seatd is enabled
+ service:
+ name: seatd
+ enabled: true
+ state: restarted
+
+- name: append current user to system groups
+ user:
+ name: "{{ _workstation_env_user }}"
+ group: "{{ item }}"
+ append: true
+ loop:
+ - _seatd
+ - audio
+ - video
remember that computers suck.