diff --git a/hosts/pulsebert/mpdConsole.nix b/hosts/pulsebert/mpdConsole.nix index 597fa206..ce5fc387 100644 --- a/hosts/pulsebert/mpdConsole.nix +++ b/hosts/pulsebert/mpdConsole.nix @@ -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"; }; };