mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 11:22:23 +00:00
72 lines
1.4 KiB
Nix
72 lines
1.4 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
let
|
|
cfg = config.elkowar.desktop;
|
|
in
|
|
{
|
|
options.elkowar.desktop = {
|
|
enable = lib.mkEnableOption "Desktop configuration enabled";
|
|
};
|
|
|
|
imports = [ ./desktop ];
|
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
|
|
home.packages = with pkgs; [
|
|
(pkgs.callPackage ../packages/bashtop.nix { })
|
|
(pkgs.callPackage ../packages/liquidctl.nix { })
|
|
(pkgs.callPackage ../packages/scr.nix { })
|
|
#(pkgs.callPackage ../packages/boox.nix { })
|
|
(pkgs.callPackage ../packages/mmutils.nix { })
|
|
|
|
cool-retro-term
|
|
gromit-mpx
|
|
dragon-drop
|
|
polybarFull
|
|
discord
|
|
#simplescreenrecorder
|
|
#hyper-haskell
|
|
];
|
|
|
|
|
|
elkowar.desktop = {
|
|
gtk.enable = true;
|
|
};
|
|
|
|
elkowar.programs = {
|
|
alacritty.enable = true;
|
|
rofi.enable = true;
|
|
firefox.enable = false;
|
|
};
|
|
|
|
programs = {
|
|
mpv = {
|
|
enable = true;
|
|
bindings = {
|
|
WHEEL_UP = "add volume 5";
|
|
WHEEL_DOWN = "add volume -5";
|
|
WHEEL_LEFT = "seek -3";
|
|
WHEEL_RIGHT = "seek 3";
|
|
h = "seek -3";
|
|
l = "seek 3";
|
|
};
|
|
};
|
|
|
|
feh = {
|
|
enable = true;
|
|
keybindings = { zoom_in = "plus"; zoom_out = "minus"; };
|
|
};
|
|
|
|
};
|
|
|
|
services = {
|
|
mpd = {
|
|
enable = true;
|
|
musicDirectory = "/home/leon/Downloads/music";
|
|
};
|
|
udiskie.enable = true;
|
|
};
|
|
};
|
|
}
|