mirror of
https://git.adityakumar.xyz/nix-conf.git
synced 2024-11-14 00:59:44 +00:00
64 lines
1.6 KiB
Nix
64 lines
1.6 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
options = {
|
|
display-manager.enable = lib.mkEnableOption "enable display-manager";
|
|
};
|
|
config = lib.mkIf config.display-manager.enable {
|
|
services = {
|
|
xserver = {
|
|
enable = true;
|
|
displayManager = {
|
|
sddm.enable = true;
|
|
gdm.enable = false;
|
|
};
|
|
desktopManager = {
|
|
#plasma6.enable = true;
|
|
gnome.enable = false;
|
|
};
|
|
xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
};
|
|
desktopManager.plasma6.enable = true;
|
|
};
|
|
#wayland.enable = true;
|
|
};
|
|
environment.systemPackages = with pkgs; [
|
|
dunst
|
|
grim
|
|
gnomeExtensions.autohide-battery
|
|
gnomeExtensions.aylurs-widgets
|
|
gnomeExtensions.bluetooth-battery
|
|
gnomeExtensions.clipboard-indicator
|
|
gnomeExtensions.hide-activities-button
|
|
gnomeExtensions.hide-top-bar
|
|
gnomeExtensions.ideapad-controls
|
|
gnomeExtensions.lock-keys
|
|
gnomeExtensions.maximize-to-empty-workspace
|
|
gnomeExtensions.media-controls
|
|
gnomeExtensions.openweather
|
|
gnomeExtensions.system-monitor-next
|
|
gnomeExtensions.wireless-hid
|
|
kdePackages.ksystemstats
|
|
libsForQt5.bismuth
|
|
libnotify
|
|
pamixer
|
|
plasma5Packages.bismuth
|
|
rofi-wayland
|
|
swww
|
|
(
|
|
waybar.overrideAttrs (oldAttrs: {
|
|
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];
|
|
})
|
|
)
|
|
wl-clipboard
|
|
virtiofsd
|
|
];
|
|
xdg.portal.enable = true;
|
|
programs.xwayland.enable = true;
|
|
};
|
|
}
|