update to 24.11

This commit is contained in:
ant 2024-12-03 21:44:32 +01:00
parent 1ec2134221
commit 5f23444535
8 changed files with 43 additions and 32 deletions

View file

@ -1,11 +1,23 @@
{ config, lib, pkgs, pkgs-unstable, pkgs-24_05, variant, ... }: {
home.packages = with pkgs; [
xdg-desktop-portal
xdg-desktop-portal-gtk
# xdg-desktop-portal
# xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
xwayland
# xwayland
];
# xdg.portal = {
# enable = true;
# extraPortals = [
# pkgs.lxqt.xdg-desktop-portal-lxqt
# pkgs.xdg-desktop-portal-kde
# ];
# config = {
# hyprland = { default = [ "lxqt,hyprland" ]; };
# common = { default = [ "kde,gtk" ]; };
# };
# };
home.sessionVariables = {
NIXOS_OZONE_WL = "1";
GDK_BACKEND = "wayland,x11";
@ -21,7 +33,7 @@
wayland.windowManager.hyprland = {
enable = true;
package = if variant == "allegro" then pkgs.hyprland else pkgs-unstable.hyprland;
package = if variant == "allegro" then pkgs.hyprland else pkgs.hyprland;
xwayland.enable = true;
@ -62,11 +74,6 @@
blur = {
enabled = false;
};
drop_shadow = true;
shadow_range = 8;
shadow_render_power = 4;
"col.shadow_inactive" = "rgba(1a1a1a33)";
"col.shadow" = "rgba(1a1a1aee)";
};
animations = {
@ -300,7 +307,7 @@
# --run "${pkgs.swaybg}/bin/swaybg -m fill -i $bg"
'');
monitors = if (variant == "default") then ''
monitor=,highrr,auto,1,vrr,1
monitor=,highrr,auto,1
''
else if variant == "moon" then ''
monitor=,preferred,auto,1