summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-12-02 15:54:07 +0100
committermakefu <github@syntax-fehler.de>2020-01-05 22:16:10 +0100
commit0addc58c4b7459927972e06f650fd067101affe5 (patch)
tree8c62ddcfb4382cc31a31cf93678b9a585c9c7351 /lass
parent16913ecb10bae9efb91a4fb82ebdaae860fb3f05 (diff)
l icarus.r: add media center
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/icarus/config.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/lass/1systems/icarus/config.nix b/lass/1systems/icarus/config.nix
index 86727700f..46f0892a2 100644
--- a/lass/1systems/icarus/config.nix
+++ b/lass/1systems/icarus/config.nix
@@ -1,5 +1,6 @@
{ config, lib, pkgs, ... }:
+with import <stockholm/lib>;
{
imports = [
<stockholm/lass>
@@ -21,6 +22,18 @@
<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;
programs.adb.enable = true;
}