set up kde for enoko

This commit is contained in:
insects 2024-08-18 22:41:55 +02:00
parent a0be378e79
commit 50ae1f3d3f
10 changed files with 52 additions and 33 deletions

View file

@ -4,38 +4,14 @@
./firefox.nix
./alacritty.nix
./gtk.nix
./mako.nix
./wofi.nix
./waybar.nix
./vscode.nix
];
home.packages = with pkgs; [
wf-recorder
wl-clipboard
vesktop
xdg-utils
nautilus
adwaita-icon-theme
];
home.sessionVariables = {
MOZ_ENABLE_WAYLAND = 1;
QT_QPA_PLATFORM = "wayland";
LIBSEAT_BACKEND = "logind";
};
programs.imv.enable = true;
xdg.mimeApps.enable = true;
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
config = {
common = {
default = [
"wlr"
];
};
};
};
}

View file

@ -0,0 +1,30 @@
{ pkgs, ... }: {
imports = [
./mako.nix
./wofi.nix
./waybar.nix
];
home.packages = with pkgs; [
wf-recorder
wl-clipboard
vesktop
xdg-utils
nautilus
adwaita-icon-theme
];
programs.imv.enable = true;
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
config = {
common = {
default = [
"wlr"
];
};
};
};
}

View file

@ -2,6 +2,7 @@
{
imports = [
../../common/desktop
../../common/desktop/wlr
./swaylock.nix
./swayidle.nix
];

View file

@ -2,7 +2,7 @@
{ inputs, lib, pkgs, ... }: {
imports = [
./global.nix
./desktop/hyprland
./common/desktop
];
config.monitors = [
@ -16,9 +16,10 @@
scale = "1.175000";
}
];
# Fix HiDPI scaling
config.wayland.windowManager.hyprland = {
settings.xwayland.force_zero_scaling = true;
settings.env = "GDK_SCALE,2";
};
# config.wayland.windowManager.hyprland = {
# settings.xwayland.force_zero_scaling = true;
# settings.env = "GDK_SCALE,2";
# };
}

View file

@ -58,6 +58,7 @@
};
};
targets.wofi.enable = false;
targets.kde.enable = false;
};
xdg.mime.enable = true;