2023-07-20 02:19:11 +04:00
|
|
|
{ outputs, options, config, lib, pkgs, ...}:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.modules.desktop.dwm;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.modules.desktop.dwm = {
|
|
|
|
enable = mkEnableOption false;
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
windowManager = {
|
|
|
|
bspwm.enable = true;
|
|
|
|
};
|
|
|
|
displayManager = {
|
|
|
|
lightdm = {
|
|
|
|
enable = true;
|
|
|
|
greeters.gtk = {
|
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
name = "vimix-dark-ruby";
|
|
|
|
package = pkgs.vimix.gtk.themes;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
libinput = {
|
|
|
|
mouse = {
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
|
|
|
|
touchpad = {
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
users.users.sako.packages = with pkgs; [
|
|
|
|
rofi
|
|
|
|
# network
|
|
|
|
networkmanagerapplet
|
|
|
|
# brightness
|
|
|
|
brightnessctl
|
|
|
|
# gee tee k
|
|
|
|
vimix-gtk-themes
|
|
|
|
vimix-icon-theme
|
|
|
|
lxappearance
|
|
|
|
catppuccin-cursors.mochaDark
|
|
|
|
# screen shot (s)
|
|
|
|
flameshot
|
|
|
|
];
|
2023-07-20 02:20:53 +04:00
|
|
|
};
|
2023-07-20 02:19:11 +04:00
|
|
|
home-manager.users.sako = { pkgs , ...}: {
|
|
|
|
home.pointerCursor = {
|
|
|
|
name = "Catppuccin-Mocha-Dark";
|
|
|
|
size = 16;
|
|
|
|
x11 = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
gtk.enable = true;
|
|
|
|
package = pkgs.catppuccin-cursors.mochaDark;
|
|
|
|
};
|
|
|
|
gtk = {
|
|
|
|
theme.name = "vimix-dark-ruby";
|
|
|
|
iconTheme.name = "Vimix Ruby Dark";
|
|
|
|
};
|
|
|
|
xdg.configFile = {
|
|
|
|
bspwm = {
|
|
|
|
source = ../../../config/bspwm;
|
|
|
|
};
|
|
|
|
sxhkd = {
|
|
|
|
source = ../../../config/sxhkd;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|