mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 11:13:54 -05:00
40 lines
892 B
Nix
40 lines
892 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 = with pkgs; [
|
|
swayosd
|
|
networkmanagerapplet
|
|
];
|
|
alyraffauf = {
|
|
apps = {
|
|
fuzzel.enable = lib.mkDefault true;
|
|
mako.enable = lib.mkDefault true;
|
|
swaylock.enable = lib.mkDefault true;
|
|
thunar.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;
|
|
};
|
|
};
|
|
|
|
dconf = {
|
|
enable = true;
|
|
settings = {
|
|
"org/gnome/nm-applet".disable-connected-notifications = true;
|
|
};
|
|
};
|
|
};
|
|
}
|