Move nixos graphical to gnome (wayland), change some alacritty settings to match

This commit is contained in:
xenia 2024-06-23 22:43:51 +02:00
parent 0c641b47ad
commit c5325866ec
2 changed files with 15 additions and 9 deletions

View File

@ -40,7 +40,7 @@ case $CHOICE in
;; ;;
esac"; esac";
font-size = if pkgs.stdenv.isLinux then 8 else 15; font-size = 15;
base-cfg = { base-cfg = {
window = { window = {
@ -48,11 +48,11 @@ esac";
padding.y = 0; padding.y = 0;
decorations = if stdenv.isDarwin then "Buttonless" else "Full"; decorations = if stdenv.isDarwin then "Buttonless" else "Full";
startup_mode = "Windowed"; startup_mode = "Windowed";
opacity = 0.6; opacity = if stdenv.isDarwin then 0.6 else 0.9;
blur = true; blur = true;
option_as_alt = "OnlyRight"; option_as_alt = "OnlyRight";
}; };
mouse.hide_when_typing = true; mouse.hide_when_typing = stdenv.isDarwin;
font = { font = {
normal.family = "SAX2"; normal.family = "SAX2";
size = font-size; size = font-size;

View File

@ -9,11 +9,19 @@
services.xserver = { services.xserver = {
enable = true; enable = true;
desktopManager.xfce.enable = true; # desktopManager.xfce.enable = true;
displayManager.lightdm = { # displayManager.lightdm = {
background = ../backgrounds/${background-image}; # background = ../backgrounds/${background-image};
greeters.slick.enable = true; # greeters.slick.enable = true;
# };
displayManager.gdm = {
enable = true;
autoSuspend = false;
}; };
desktopManager.gnome.enable = true;
# displayManager.sddm.enable = true;
# desktopManager.plasma6.enable = true;
xkb = { xkb = {
layout = "fox"; layout = "fox";
@ -26,8 +34,6 @@
}; };
}; };
services.displayManager.defaultSession = "xfce";
console.useXkbConfig = true; console.useXkbConfig = true;
# Enable sound. # Enable sound.