Move mpd console to tty9, run as k-ot
This commit is contained in:
parent
654f2ecf1f
commit
39cef2da1d
|
@ -1,20 +1,20 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let tty = "tty1";
|
||||
let tty = "tty9";
|
||||
in {
|
||||
boot.extraTTYs = [ tty ];
|
||||
|
||||
systemd.services.ncmpcpp = {
|
||||
description = "Rogue dungeon crawling game";
|
||||
description = "Mpd console";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
User = "k-ot";
|
||||
ExecStart = "${pkgs.ncmpcpp}/bin/ncmpcpp";
|
||||
StandardInput = "tty";
|
||||
StandardOutput = "tty";
|
||||
TTYPath = "/dev/${tty}";
|
||||
TTYReset = true;
|
||||
TTYVTDisallocate = true;
|
||||
WorkingDirectory = "/tmp";
|
||||
Restart = "always";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue