2020-11-10 09:08:56 +00:00
|
|
|
{ pkgs, config, ... }:
|
2020-11-09 21:26:38 +00:00
|
|
|
|
2020-11-21 15:51:37 +00:00
|
|
|
let h = config.home.homeDirectory;
|
|
|
|
in {
|
|
|
|
home.packages = with pkgs; [ steam minecraft fahcontrol ];
|
2020-11-09 21:26:38 +00:00
|
|
|
|
|
|
|
services.mpd = {
|
|
|
|
enable = true;
|
2020-11-10 09:08:56 +00:00
|
|
|
musicDirectory = h + "/Music/Best";
|
2020-11-09 21:26:38 +00:00
|
|
|
network.listenAddress = "any";
|
|
|
|
extraConfig = ''
|
|
|
|
audio_output {
|
|
|
|
type "pulse"
|
|
|
|
name "Shared output (pulseaudio)"
|
|
|
|
}
|
|
|
|
|
|
|
|
audio_output {
|
|
|
|
type "jack"
|
|
|
|
name "Jack output"
|
|
|
|
}
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
programs.ncmpcpp.enable = true;
|
2020-11-13 17:19:20 +00:00
|
|
|
services.mpdris2 = {
|
|
|
|
enable = true;
|
|
|
|
mpd.host = "127.0.0.1";
|
|
|
|
};
|
2020-11-26 08:49:52 +00:00
|
|
|
|
2020-11-26 08:52:34 +00:00
|
|
|
xdg.configFile."kitty/sessions/default.conf".text = ''
|
|
|
|
launch ${pkgs.ncmpcpp}/bin/ncmpcpp
|
|
|
|
launch ${pkgs.bpytop}/bin/bpytop
|
|
|
|
|
|
|
|
new_tab
|
|
|
|
'';
|
|
|
|
|
2020-11-26 08:49:52 +00:00
|
|
|
wayland.windowManager.sway = let
|
|
|
|
outputs = {
|
|
|
|
main = "Samsung Electric Company C27JG5x H4ZMA00132";
|
|
|
|
alt = "Unknown HP E233 CNC7500L7Q";
|
|
|
|
};
|
|
|
|
mod = config.wayland.windowManager.sway.config.modifier;
|
|
|
|
in {
|
|
|
|
config = {
|
|
|
|
keybindings = {
|
|
|
|
"${mod}+Ctrl+a" = "output ${outputs.alt} toggle";
|
|
|
|
};
|
|
|
|
|
|
|
|
output = {
|
|
|
|
"${outputs.main}" = {
|
|
|
|
resolution = "2560x1440@144Hz";
|
|
|
|
position = "0 0";
|
|
|
|
};
|
|
|
|
"${outputs.alt}" = {
|
|
|
|
resolution = "1920x1080@60Hz";
|
|
|
|
transform = "270";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
extraConfig = ''
|
|
|
|
workspace 10 output ${outputs.alt} ${outputs.main}
|
|
|
|
'';
|
|
|
|
};
|
2020-11-09 21:26:38 +00:00
|
|
|
}
|