users/guest: add scaling to firefox
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m19s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m19s
This commit is contained in:
@@ -53,10 +53,32 @@ in
|
|||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
ZDOTDIR = "~/.config/zsh";
|
ZDOTDIR = "~/.config/zsh";
|
||||||
};
|
};
|
||||||
|
pointerCursor = {
|
||||||
|
enable = true;
|
||||||
|
size = 64;
|
||||||
|
name = "macOS";
|
||||||
|
package = pkgs.apple-cursor;
|
||||||
|
gtk.enable = true;
|
||||||
|
x11.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
profiles.Default = {
|
||||||
|
search = {
|
||||||
|
default = "ddg";
|
||||||
|
privateDefault = "ddg";
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
|
settings = {
|
||||||
|
"layout.css.devPixelsPerPx" = 1.5;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
@@ -76,7 +98,7 @@ in
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Firefox
|
Name=Firefox
|
||||||
Comment=Desktop session for web browsing
|
Comment=Desktop session for web browsing
|
||||||
Exec=${pkgs.gamescope}/bin/gamescope --rt --backend drm -- ${pkgs.firefox}/bin/firefox https://www.youtube.com/
|
Exec=${pkgs.gamescope}/bin/gamescope --rt --backend drm --expose-wayland -W 3840 -H 2160 -- MOZ_ENABLE_WAYLAND=1 ${pkgs.firefox}/bin/firefox https://www.youtube.com/
|
||||||
Type=Application
|
Type=Application
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
@@ -88,7 +110,7 @@ in
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Jellyfin
|
Name=Jellyfin
|
||||||
Comment=Desktop session for music, movies, and TV
|
Comment=Desktop session for music, movies, and TV
|
||||||
Exec=${pkgs.gamescope}/bin/gamescope --rt --backend drm -- ${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --scale-factor 2 --tv --fullscreen
|
Exec=${pkgs.gamescope}/bin/gamescope --rt --backend drm -W 3840 -H 2160 -- ${pkgs.jellyfin-media-player}/bin/jellyfinmediaplayer --scale-factor 2 --tv --fullscreen
|
||||||
Type=Application
|
Type=Application
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user