mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
Updated system
This commit is contained in:
parent
c94dcbff29
commit
5684e1b560
5 changed files with 49 additions and 53 deletions
|
@ -12,10 +12,7 @@ in
|
|||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# Power key should not shut off computer by defaultPower key shuts of
|
||||
services.logind.extraConfig = ''
|
||||
# Suspend when power button is pressed
|
||||
HandlePowerKey=suspend
|
||||
'';
|
||||
services.logind.powerKey = "suspend";
|
||||
|
||||
# Hyprland
|
||||
programs = {
|
||||
|
|
|
@ -50,7 +50,7 @@ in
|
|||
stylix.targets.console.enable = true;
|
||||
|
||||
environment.sessionVariables = {
|
||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||
#QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -40,7 +40,7 @@ in
|
|||
XDG_SESSION_TYPE = "wayland";
|
||||
GDK_BACKEND = "wayland,x11,*";
|
||||
QT_QPA_PLATFORM = "wayland;xcb";
|
||||
QT_QPA_PLATFORMTHEME = lib.mkForce "qt5ct";
|
||||
#QT_QPA_PLATFORMTHEME = lib.mkForce "qt5ct";
|
||||
QT_AUTO_SCREEN_SCALE_FACTOR = "1.25";
|
||||
QT_WAYLAND_DISABLE_WINDOWDECORATION = 1;
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
|
@ -513,8 +513,7 @@ in
|
|||
wev
|
||||
grim
|
||||
slurp
|
||||
libsForQt5.qt5.qtwayland
|
||||
qt6.qtwayland
|
||||
kdePackages.qtwayland
|
||||
xdg-utils
|
||||
wlsunset
|
||||
hyprshade
|
||||
|
|
|
@ -109,13 +109,13 @@ in
|
|||
".config/qt5ct/qt5ct.conf".text = pkgs.lib.mkBefore (builtins.readFile ./qt5ct.conf);
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
libsForQt5.qt5ct pkgs.libsForQt5.breeze-qt5 libsForQt5.breeze-icons pkgs.noto-fonts-monochrome-emoji
|
||||
kdePackages.breeze kdePackages.breeze-icons pkgs.noto-fonts-monochrome-emoji
|
||||
];
|
||||
qt = {
|
||||
enable = true;
|
||||
style.package = pkgs.libsForQt5.breeze-qt5;
|
||||
#enable = true;
|
||||
style.package = pkgs.kdePackages.breeze;
|
||||
style.name = "breeze-dark";
|
||||
platformTheme = "kde";
|
||||
platformTheme.name = "kde";
|
||||
};
|
||||
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue