todo dwm for later

This commit is contained in:
Sakooooo 2023-07-20 01:19:11 +03:00
parent c0ba7a40f4
commit 36a8397c8b
Signed by: sako
GPG key ID: 3FD715D87D7725E0
5 changed files with 83 additions and 0 deletions

1
config/dwm Submodule

@ -0,0 +1 @@
Subproject commit e81f17d4c196aaed6893fd4beed49991caa3e2a4

View file

@ -19,6 +19,7 @@
enable = true; enable = true;
polybar.enable = true; polybar.enable = true;
}; };
dwm.enable = true;
kde.enable = true; kde.enable = true;
dunst.enable = true; dunst.enable = true;
browsers = { browsers = {

View file

@ -2,6 +2,7 @@
imports = [ imports = [
./kitty ./kitty
./bspwm ./bspwm
./dwm
./kde ./kde
./browsers ./browsers
./apps ./apps

View file

@ -0,0 +1,77 @@
{ 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
];
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;
};
};
};
};
};
}

View file

@ -19,6 +19,9 @@
vimix-gtk-themes = prev.vimix-gtk-themes.override { vimix-gtk-themes = prev.vimix-gtk-themes.override {
themeVariants = [ "ruby" ]; themeVariants = [ "ruby" ];
}; };
dwm = prev.dwm.overrideAttrs (old: {
src = ../config/dwm;
});
}; };
# When applied, the unstable nixpkgs set (declared in the flake inputs) will # When applied, the unstable nixpkgs set (declared in the flake inputs) will