mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-21 19:53:55 -05:00
declare GDK_SCALE in host cfg
This commit is contained in:
parent
d2c45940d3
commit
0840f43ffd
|
@ -3,8 +3,7 @@
|
|||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
config = let
|
||||
}: let
|
||||
cfg = config.ar.home.defaultApps;
|
||||
inherit
|
||||
(import ./mimetypes.nix)
|
||||
|
@ -15,8 +14,8 @@
|
|||
imageFiles
|
||||
videoFiles
|
||||
;
|
||||
in
|
||||
lib.mkIf cfg.enable {
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
dconf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
@ -102,8 +102,6 @@
|
|||
region = "${bin} -m region -o ${folder}";
|
||||
};
|
||||
|
||||
gdk_scale = "1.5";
|
||||
|
||||
clamshell = pkgs.writeShellScript "hyprland-clamshell" ''
|
||||
NUM_MONITORS=$(${hyprctl} monitors all | grep Monitor | wc --lines)
|
||||
if [ "$1" == "on" ]; then
|
||||
|
@ -194,9 +192,6 @@
|
|||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
# toolkit-specific scale
|
||||
env = GDK_SCALE,${gdk_scale}
|
||||
|
||||
# Some default env vars.
|
||||
env = XCURSOR_SIZE,${toString config.home.pointerCursor.size}
|
||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
systemd-boot.enable = true;
|
||||
};
|
||||
|
||||
environment.variables.GDK_SCALE = "1.5";
|
||||
networking.hostName = "fallarbor";
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
systemd-boot.enable = true;
|
||||
};
|
||||
|
||||
environment.variables.GDK_SCALE = "1.5";
|
||||
networking.hostName = "lavaridge";
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
ar = {
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
environment.variables.GDK_SCALE = "1.25";
|
||||
hardware.enableAllFirmware = true;
|
||||
networking.hostName = "mandarin";
|
||||
|
||||
|
|
|
@ -91,8 +91,8 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
environment.variables.GDK_SCALE = "1.25";
|
||||
system.stateVersion = "23.11";
|
||||
|
||||
zramSwap.memoryPercent = 100;
|
||||
|
||||
ar = {
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
systemd-boot.enable = true;
|
||||
};
|
||||
|
||||
environment.variables.GDK_SCALE = "2";
|
||||
networking.hostName = "petalburg";
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
ar = {
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
systemd-boot.enable = true;
|
||||
};
|
||||
|
||||
environment.variables.GDK_SCALE = "1.25";
|
||||
networking.hostName = "rustboro";
|
||||
system.stateVersion = "24.05";
|
||||
zramSwap.memoryPercent = 100;
|
||||
|
|
Loading…
Reference in a new issue