# lithium server { pkgs, lib, ... }: { imports = [ ../lib/linux.nix ../lib/urxvt.nix ../lib/polybar.nix ../lib/ssh.nix ../lib/packages.nix ../lib/emacs.nix ../lib/email.nix ]; home = { sessionVariables = { GPGID = "C184FB3920E3510D"; }; packages = with pkgs; [ ]; }; services.polybar.config."bar/top".monitor = "HDMI-1"; services.polybar.enable = true; services.polybar.script = "polybar top &"; services.random-background.enable = lib.mkForce true; programs.git.signing.signByDefault = lib.mkForce false; systemd.user.services = { "shop-music".Service = { RestartSec = "3s"; Restart = "always"; ExecStart = "${pkgs.mplayer}/bin/mplayer http://localhost:8097"; }; }; services.mpd = { enable = true; musicDirectory = "/mnt/campbell/ben/music"; network = { listenAddress = "0.0.0.0"; port = 6600; }; extraConfig = '' audio_output { type "httpd" name "HTTP Stream" encoder "vorbis" port "8097" quality "7.0" format "44100:16:2" } ''; }; services.mbsync.enable = true; }