sunshine
module
This commit is contained in:
parent
dad62eeaa0
commit
7a72e488b5
1 changed files with 21 additions and 0 deletions
21
modules/sunshine/default.nix
Normal file
21
modules/sunshine/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
videoDrivers = ["amdgpu"];
|
||||||
|
|
||||||
|
# displayManager.gdm.enable = true;
|
||||||
|
# displayManager.defaultSession = "gnome";
|
||||||
|
|
||||||
|
# displayManager.autoLogin.enable = true;
|
||||||
|
# displayManager.autoLogin.user = "sunshine"; # user must exists
|
||||||
|
|
||||||
|
# desktopManager.gnome.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.sunshine = {
|
||||||
|
isSystemUser = true;
|
||||||
|
group = "sunshine";
|
||||||
|
};
|
||||||
|
|
||||||
|
users.groups.sunshine = {};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue