From 41342370581fd4cc0983b2ed846b4f068db45ab3 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 22 Sep 2019 12:08:42 +0200 Subject: l shodan.r: configure as media center --- lass/1systems/shodan/config.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lass/1systems') diff --git a/lass/1systems/shodan/config.nix b/lass/1systems/shodan/config.nix index 6513de48..cfb5988a 100644 --- a/lass/1systems/shodan/config.nix +++ b/lass/1systems/shodan/config.nix @@ -25,4 +25,16 @@ with import ; services.logind.extraConfig = '' HandleLidSwitch=ignore ''; + + #media center + users.users.media = { + isNormalUser = true; + uid = genid_uint31 "media"; + extraGroups = [ "video" "audio" ]; + }; + + services.xserver.displayManager.lightdm.autoLogin = { + enable = true; + user = "media"; + }; } -- cgit v1.2.3