l icarus.r: add media center
This commit is contained in:
parent
16913ecb10
commit
0addc58c4b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user