mess around with desktops, switch goop-drive to wayland

This commit is contained in:
Jill 2024-01-16 06:30:11 +03:00
parent 24036ac7aa
commit a386ed30a7
3 changed files with 26 additions and 4 deletions

View File

@ -33,7 +33,7 @@
pipewire.enable = true;
};
desktop = {
envProto = "x11";
envProto = "wayland";
gnome.enable = true;
gnome.keybinds.shell = {
# disable defaults
@ -59,6 +59,7 @@
command = ''${grabScript}'';
};
};
#xfce.enable = true;
themes.active = "catppuccin";
};
software = {

View File

@ -20,11 +20,11 @@ in {
espresso
clipboard-indicator
appindicator
blur-my-shell
dash-to-dock
#blur-my-shell
#dash-to-dock
just-perfection
disable-unredirect-fullscreen-windows
gsconnect
#gsconnect
launch-new-instance
];
};

21
modules/desktop/xfce.nix Normal file
View File

@ -0,0 +1,21 @@
{ lib, config, ... }:
with lib;
let
cfg = config.modules.desktop.xfce;
in {
options.modules.desktop.xfce = {
enable = mkEnableOption "Enable Xfce, a lightweight desktop environment based on GTK+";
};
config = mkIf cfg.enable {
services.xserver = {
enable = true;
desktopManager = {
xterm.enable = false;
xfce.enable = true;
};
displayManager.defaultSession = "xfce";
};
};
}