diff options
author | lassulus <lassulus@lassul.us> | 2019-09-22 12:08:42 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-09-22 12:08:42 +0200 |
commit | 41342370581fd4cc0983b2ed846b4f068db45ab3 (patch) | |
tree | 3890453b81039384fbe959bad692a11925c06651 /lass/1systems | |
parent | ec525a30a3c7be4880761508b18f8049eb69d120 (diff) |
l shodan.r: configure as media center
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/shodan/config.nix | 12 |
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"; + }; } |