43 lines
1.0 KiB
Nix
43 lines
1.0 KiB
Nix
{ pkgs, lib, config, osConfig ? {}, options, ...}:
|
|
let
|
|
cfg = config.nixfiles.common.wm;
|
|
inherit (lib) mkDefault;
|
|
in
|
|
{
|
|
options.nixfiles.common.wm = {
|
|
enable = lib.mkEnableOption "common window manager config";
|
|
};
|
|
config = lib.mkIf cfg.enable {
|
|
# Common options for standalone window managers; many of these (or
|
|
# alternatives thereof) are pulled in by desktop environments.
|
|
home.packages = with pkgs; [
|
|
qt5ct
|
|
qt6ct
|
|
swaybg
|
|
swayidle
|
|
libsForQt5.qtstyleplugin-kvantum
|
|
pcmanfm
|
|
|
|
# very consistent
|
|
(catppuccin-papirus-folders.override {accent = "mauve"; flavor = "mocha"; })
|
|
(pkgs.catppuccin-kvantum.override {accent = "Mauve"; variant = "Mocha"; })
|
|
catppuccin-cursors.mochaMauve
|
|
|
|
arc-theme
|
|
];
|
|
|
|
programs = {
|
|
swaylock = {
|
|
enable = true;
|
|
package = pkgs.swaylock-effects;
|
|
};
|
|
};
|
|
services = {
|
|
udiskie = {
|
|
enable = mkDefault true;
|
|
automount = mkDefault false;
|
|
};
|
|
};
|
|
};
|
|
}
|