File tree Expand file tree Collapse file tree 1 file changed +38
-19
lines changed
Expand file tree Collapse file tree 1 file changed +38
-19
lines changed Original file line number Diff line number Diff line change 155155 services . greetd = {
156156 enable = true ;
157157 settings . default_session = {
158- command = "${ pkgs . shoyu } /bin/shoyu-compositor-runner ${ pkgs . genesis-shell } /bin/genesis_shell" ;
158+ command = "${ pkgs . coreutils } /bin/env${ lib . optionalString ( pkgs . hostPlatform . isAarch64 ) " WLR_DRM_DEVICES=/dev/dri/card0" } ${ pkgs . shoyu } /bin/shoyu-compositor-runner ${ pkgs . genesis-shell } /bin/genesis_shell" ;
159+ user = "genesis-shell" ;
159160 } ;
160161 } ;
161162
162- security . sudo = {
163- enable = true ;
164- wheelNeedsPassword = false ;
163+ security = {
164+ sudo = {
165+ enable = true ;
166+ wheelNeedsPassword = false ;
167+ } ;
168+ pam . services . genesis-shell = { } ;
165169 } ;
166170
167171 boot . initrd . kernelModules = [ "virtio_gpu" "virtio_pci" ] ;
168172
169- virtualisation . qemu . options = [
170- "-vga none"
171- "-device virtio-gpu-gl-pci"
172- "-display default,gl=on"
173- ] ;
174-
175- users . users . demo = {
176- isNormalUser = true ;
177- password = "demo" ;
178- createHome = true ;
179- group = "wheel" ;
180- extraGroups = [
181- "users"
182- "video"
183- "input"
173+ virtualisation = {
174+ memorySize = 4096 ;
175+ qemu . options = [
176+ "-vga none"
177+ "-device virtio-gpu-gl-pci"
178+ "-display default,gl=on"
184179 ] ;
185180 } ;
181+
182+ users = {
183+ groups . genesis-shell = { } ;
184+ users = {
185+ demo = {
186+ isNormalUser = true ;
187+ password = "demo" ;
188+ createHome = true ;
189+ group = "wheel" ;
190+ extraGroups = [
191+ "users"
192+ "video"
193+ "input"
194+ ] ;
195+ } ;
196+ genesis-shell = {
197+ description = "Genesis Shell login greeter user" ;
198+ isSystemUser = true ;
199+ home = "/var/lib/genesis-shell" ;
200+ createHome = true ;
201+ group = "genesis-shell" ;
202+ } ;
203+ } ;
204+ } ;
186205 }
187206 ] ;
188207 }
You can’t perform that action at this time.
0 commit comments