Move mpd console to tty9, run as k-ot

This commit is contained in:
Ehmry - 2020-01-20 14:50:26 +01:00
parent 654f2ecf1f
commit 39cef2da1d
1 changed files with 3 additions and 3 deletions

View File

@ -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";
};
};