mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 00:41:53 -05:00
37 lines
854 B
Nix
37 lines
854 B
Nix
|
{
|
||
|
pkgs,
|
||
|
lib,
|
||
|
config,
|
||
|
...
|
||
|
}: {
|
||
|
options = {
|
||
|
alyraffauf.desktop.waylandComp =
|
||
|
lib.mkEnableOption "Shared configuration for wayland compositors.";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf config.alyraffauf.desktop.waylandComp {
|
||
|
home.packages = [pkgs.swayosd];
|
||
|
alyraffauf = {
|
||
|
apps = {
|
||
|
fuzzel.enable = lib.mkDefault true;
|
||
|
mako.enable = lib.mkDefault true;
|
||
|
swaylock.enable = lib.mkDefault true;
|
||
|
waybar.enable = lib.mkDefault true;
|
||
|
wlogout.enable = lib.mkDefault true;
|
||
|
};
|
||
|
desktop = {
|
||
|
theme.enable = lib.mkDefault true;
|
||
|
defaultApps.enable = lib.mkDefault true;
|
||
|
};
|
||
|
};
|
||
|
services.cliphist.enable = lib.mkDefault true;
|
||
|
|
||
|
dconf = {
|
||
|
enable = true;
|
||
|
settings = {
|
||
|
"org/gnome/nm-applet".disable-connected-notifications = true;
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|