change Lenni DE to GNOME

This commit is contained in:
willifan 2025-11-23 15:38:37 +01:00
parent 27420bc9a3
commit c094fd24e5
5 changed files with 34 additions and 20 deletions

View file

@ -15,15 +15,15 @@
enable = true;
dev.enable = true;
laser.enable = true;
windowManager = "niri-session";
wm.niri.enable = true;
autologin.enable = false;
wm.gnome.enable = true;
fuzzel.enable = true;
hyprlock.enable = true;
hyprpaper.enable = true;
hypridle.enable = true;
mako.enable = true;
waybar.enable = true;
wlogout.enable = true;
#hyprlock.enable = true;
#hyprpaper.enable = true;
#hypridle.enable = true;
#mako.enable = true;
#waybar.enable = true;
#wlogout.enable = true;
utils.enable = true;
};

View file

@ -1,11 +0,0 @@
{ lib, config, ... }:
{
services.desktopManager = {
plasma6 = lib.mkIf config.desktop.wm.plasma6.enable {
enable = true;
};
gnome = lib.mkIf config.desktop.wm.gnome.enable {
enable = true;
};
};
}

View file

@ -3,13 +3,14 @@
imports = [
./games
./DE.nix
./applications.nix
./autostart.nix
./boot.nix
./dev.nix
./firefox.nix
./gnome.nix
./k40.nix
./kde.nix
./keyboard.nix
./nfs-client.nix
./nix-ld.nix

View file

@ -0,0 +1,20 @@
{ lib, config, ... }:
lib.mkIf config.desktop.wm.gnome.enable {
services = {
desktopManager.gnome.enable = true;
displayManager.gdm.enable = true;
};
programs.dconf.profiles.user.databases = [
{
settings = {
"org/gnome/mutter" = {
experimental-features = [
"scale-monitor-framebuffer" # Enables fractional scaling (125% 150% 175%)
"variable-refresh-rate" # Enables Variable Refresh Rate (VRR) on compatible displays
"xwayland-native-scaling" # Scales Xwayland applications to look crisp on HiDPI screens
];
};
};
}
];
}

View file

@ -0,0 +1,4 @@
{ lib, config, ... }:
lib.mkIf config.desktop.wm.plasma6.enable {
services.desktopManager.plasma6.enable = true;
}