feat: cage with anime ^_^
This commit is contained in:
parent
4184c835e0
commit
40a9e3a6ec
1 changed files with 19 additions and 0 deletions
19
hosts/koi/services/cage.nix
Normal file
19
hosts/koi/services/cage.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{ pkgs, abs, config, ... }@inputs:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.cage = {
|
||||||
|
enable = true;
|
||||||
|
user = "cage";
|
||||||
|
program = "${pkgs.mpv}/bin/mpv /mnt/puffer/Downloads/anime --shuffle --loop-playlist --directory-mode=recursive";
|
||||||
|
environment = {
|
||||||
|
WLR_LIBINPUT_NO_DEVICES = "1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.cage = {
|
||||||
|
isNormalUser = true;
|
||||||
|
description = "Guest account for Cage";
|
||||||
|
createHome = false;
|
||||||
|
shell = pkgs.shadow;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue