summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-09-22 12:08:42 +0200
committerlassulus <lassulus@lassul.us>2019-09-22 12:08:42 +0200
commit41342370581fd4cc0983b2ed846b4f068db45ab3 (patch)
tree3890453b81039384fbe959bad692a11925c06651
parentec525a30a3c7be4880761508b18f8049eb69d120 (diff)
l shodan.r: configure as media center
-rw-r--r--lass/1systems/shodan/config.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/lass/1systems/shodan/config.nix b/lass/1systems/shodan/config.nix
index 6513de481..cfb5988a1 100644
--- a/lass/1systems/shodan/config.nix
+++ b/lass/1systems/shodan/config.nix
@@ -25,4 +25,16 @@ with import <stockholm/lib>;
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";
+ };
}