Compare commits
3 commits
c22bdf926f
...
e1d000835e
Author | SHA1 | Date | |
---|---|---|---|
e1d000835e | |||
430ae634f4 | |||
9d87ae5a49 |
4 changed files with 9 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
# compatibility
|
# compatibility
|
||||||
wineWowPackages.waylandFull winetricks
|
wineWowPackages.waylandFull winetricks
|
||||||
# misc
|
# misc
|
||||||
bat file which packwiz yt-dlp wl-screenrec wl-clipboard grim
|
bat file which packwiz yt-dlp wl-screenrec wl-clipboard grim hyfetch
|
||||||
# games
|
# games
|
||||||
prismlauncher
|
prismlauncher
|
||||||
] ++ (with pkgs.my; [
|
] ++ (with pkgs.my; [
|
||||||
|
|
|
@ -23,6 +23,7 @@ in {
|
||||||
|
|
||||||
# bootloader
|
# bootloader
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.systemd-boot.consoleMode = "auto";
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
# enable networking
|
# enable networking
|
||||||
|
@ -38,7 +39,9 @@ in {
|
||||||
|
|
||||||
# various evironment variables that are needed for everything desktop related
|
# various evironment variables that are needed for everything desktop related
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
MOZ_DISABLE_RDD_SANDBOX = "1";
|
# automatic hidpi for qt apps
|
||||||
|
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
|
||||||
|
QT_ENABLE_HIGHDPI_SCALING = "1";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
(mkIf (cfg.envProto == "wayland") {
|
(mkIf (cfg.envProto == "wayland") {
|
||||||
|
|
|
@ -16,9 +16,12 @@ in {
|
||||||
libsForQt5.qt5.qtgraphicaleffects
|
libsForQt5.qt5.qtgraphicaleffects
|
||||||
libsForQt5.qt5.qtquickcontrols2
|
libsForQt5.qt5.qtquickcontrols2
|
||||||
];
|
];
|
||||||
|
# why do we need kwin for working hidpi
|
||||||
|
# huh????
|
||||||
services.displayManager.sddm = {
|
services.displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wayland.enable = config.modules.desktop.envProto == "wayland";
|
wayland.enable = config.modules.desktop.envProto == "wayland";
|
||||||
|
wayland.compositor = "kwin";
|
||||||
theme = config.modules.desktop.themes.sddmTheme.name;
|
theme = config.modules.desktop.themes.sddmTheme.name;
|
||||||
settings = {
|
settings = {
|
||||||
Theme = {
|
Theme = {
|
||||||
|
|
|
@ -47,6 +47,7 @@ in {
|
||||||
package = (pkgs.my.catppuccin-sddm-corners.override {
|
package = (pkgs.my.catppuccin-sddm-corners.override {
|
||||||
config.General = {
|
config.General = {
|
||||||
Background = ../../../../assets/lockscreen.png;
|
Background = ../../../../assets/lockscreen.png;
|
||||||
|
GeneralFontSize = toString config.modules.desktop.fonts.fonts.sansSerif.size;
|
||||||
Font = config.modules.desktop.fonts.fonts.sansSerif.family;
|
Font = config.modules.desktop.fonts.fonts.sansSerif.family;
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue