summaryrefslogtreecommitdiffstats
path: root/lass/1systems/icarus/config.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-12-02 15:54:07 +0100
committerlassulus <lassulus@lassul.us>2019-12-02 15:54:07 +0100
commit77dc0b8034999c6a060c785b8b74134a2c5b7555 (patch)
treeae85d880b312a6481692593ab794c23bf4c5b33c /lass/1systems/icarus/config.nix
parent7b9e4ac1425aea47b2ca8510db7a406b9712871a (diff)
l icarus.r: add media center
Diffstat (limited to 'lass/1systems/icarus/config.nix')
-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;
}