2023-07-21 17:12:20 +04:00
|
|
|
{
|
2023-08-13 03:26:33 +04:00
|
|
|
outputs,
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
2024-08-01 16:24:09 +04:00
|
|
|
let
|
2023-08-13 03:26:33 +04:00
|
|
|
cfg = config.modules.desktop.awesome;
|
|
|
|
in {
|
2023-07-21 17:12:20 +04:00
|
|
|
options.modules.desktop.awesome = {
|
2024-08-01 16:24:09 +04:00
|
|
|
enable = lib.mkEnableOption false;
|
2023-07-21 17:12:20 +04:00
|
|
|
};
|
|
|
|
|
2024-08-01 16:24:09 +04:00
|
|
|
config = lib.mkIf cfg.enable {
|
2023-09-10 00:08:10 +04:00
|
|
|
|
|
|
|
# this needs to be enabled for gtk apps
|
|
|
|
programs.dconf.enable = true;
|
2023-08-02 16:49:33 +04:00
|
|
|
services.xserver = {
|
|
|
|
enable = true;
|
|
|
|
windowManager.awesome = {
|
|
|
|
enable = true;
|
|
|
|
luaModules = with pkgs.luaPackages; [
|
|
|
|
luarocks
|
|
|
|
luadbi-mysql
|
|
|
|
];
|
|
|
|
};
|
|
|
|
displayManager = {
|
2023-08-13 03:26:33 +04:00
|
|
|
defaultSession = "none+awesome";
|
|
|
|
lightdm = {
|
2023-08-02 16:49:33 +04:00
|
|
|
enable = true;
|
2023-08-13 03:26:33 +04:00
|
|
|
background = ../../../config/background.png;
|
|
|
|
greeters.gtk = {
|
|
|
|
enable = true;
|
|
|
|
theme = {
|
|
|
|
name = "vimix-dark-ruby";
|
|
|
|
package = pkgs.vimix-gtk-themes;
|
|
|
|
};
|
2023-08-02 16:49:33 +04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
libinput = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
# no mouse accel
|
|
|
|
mouse = {
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
|
|
|
|
# no touchpad accel
|
|
|
|
touchpad = {
|
|
|
|
accelProfile = "flat";
|
|
|
|
};
|
|
|
|
};
|
2023-08-13 03:26:33 +04:00
|
|
|
};
|
2023-08-02 16:49:33 +04:00
|
|
|
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-08-13 03:26:33 +04:00
|
|
|
home-manager.users.sako = {pkgs, ...}: {
|
2023-08-02 16:49:33 +04:00
|
|
|
home.pointerCursor = {
|
2023-08-13 03:26:33 +04:00
|
|
|
name = "Catppuccin-Mocha-Dark";
|
2023-08-02 16:49:33 +04:00
|
|
|
size = 16;
|
|
|
|
x11 = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
gtk.enable = true;
|
|
|
|
package = pkgs.catppuccin-cursors.mochaDark;
|
|
|
|
};
|
|
|
|
gtk = {
|
2023-08-29 13:51:25 +04:00
|
|
|
enable = true;
|
2023-08-02 16:49:33 +04:00
|
|
|
theme.name = "vimix-dark-ruby";
|
|
|
|
iconTheme.name = "Vimix Ruby Dark";
|
|
|
|
};
|
|
|
|
home.file = {
|
|
|
|
"background.png" = {
|
|
|
|
enable = true;
|
|
|
|
source = ../../../config/background.png;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
xdg.configFile = {
|
2023-08-02 16:55:52 +04:00
|
|
|
awesome = {
|
|
|
|
enable = true;
|
|
|
|
source = ../../../config/awesome;
|
|
|
|
recursive = true;
|
|
|
|
};
|
2023-08-13 03:26:33 +04:00
|
|
|
};
|
2023-08-02 16:49:33 +04:00
|
|
|
};
|
2023-07-21 17:12:20 +04:00
|
|
|
};
|
|
|
|
}
|