cat
This commit is contained in:
parent
eb54eb7237
commit
150fa1c9c5
6 changed files with 19 additions and 26 deletions
|
@ -16,10 +16,8 @@
|
|||
kitty.enable = true;
|
||||
xmonad.enable = false;
|
||||
awesome.enable = false;
|
||||
dwm = {
|
||||
enable = true;
|
||||
dwmblocks.enable = false;
|
||||
};
|
||||
dwm.enable = true;
|
||||
picom.enable = true;
|
||||
gnome.enable = false;
|
||||
dunst.enable = true;
|
||||
browsers = {
|
||||
|
|
|
@ -17,5 +17,6 @@
|
|||
./chat
|
||||
./media
|
||||
./dunst
|
||||
./picom
|
||||
];
|
||||
}
|
||||
|
|
|
@ -4,9 +4,6 @@ let
|
|||
cfg = config.modules.desktop.dwm;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./dwmblocks.nix
|
||||
];
|
||||
options.modules.desktop.dwm = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.dwm.dwmblocks;
|
||||
in
|
||||
{
|
||||
options.modules.desktop.dwm.dwmblocks = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
users.users.sako.packages = with pkgs; [
|
||||
dwmblocks
|
||||
];
|
||||
};
|
||||
}
|
16
modules/desktop/picom/default.nix
Normal file
16
modules/desktop/picom/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ outputs, options, config, lib, pkgs, ...}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.desktop.picom;
|
||||
in
|
||||
{
|
||||
options.modules.desktop.picom = {
|
||||
enable = mkEnableOption false;
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
picom
|
||||
];
|
||||
};
|
||||
}
|
|
@ -22,9 +22,6 @@
|
|||
dwm = prev.dwm.overrideAttrs (old: {
|
||||
src = ../config/dwm;
|
||||
});
|
||||
dwmblocks = prev.dwmblocks.overrideAttrs (old: {
|
||||
src = ../config/dwmblocks;
|
||||
});
|
||||
};
|
||||
|
||||
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
|
||||
|
|
Loading…
Reference in a new issue