l icarus.r: add media center

This commit is contained in:
lassulus 2019-12-02 15:54:07 +01:00 committed by makefu
parent 16913ecb10
commit 0addc58c4b
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
with import <stockholm/lib>;
{ {
imports = [ imports = [
<stockholm/lass> <stockholm/lass>
@ -21,6 +22,18 @@
<stockholm/lass/2configs/ssh-cryptsetup.nix> <stockholm/lass/2configs/ssh-cryptsetup.nix>
]; ];
#media center
users.users.media = {
isNormalUser = true;
uid = genid_uint31 "media";
extraGroups = [ "video" "audio" ];
};
services.xserver.displayManager.lightdm.autoLogin = {
enable = true;
user = "media";
};
krebs.build.host = config.krebs.hosts.icarus; krebs.build.host = config.krebs.hosts.icarus;
programs.adb.enable = true; programs.adb.enable = true;
} }