set up kde for enoko
This commit is contained in:
parent
a0be378e79
commit
50ae1f3d3f
10 changed files with 52 additions and 33 deletions
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
30
home/common/desktop/wlr/default.nix
Normal file
30
home/common/desktop/wlr/default.nix
Normal 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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
../../common/desktop
|
||||
../../common/desktop/wlr
|
||||
./swaylock.nix
|
||||
./swayidle.nix
|
||||
];
|
||||
|
|
|
@ -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";
|
||||
# };
|
||||
}
|
||||
|
|
|
@ -58,6 +58,7 @@
|
|||
};
|
||||
};
|
||||
targets.wofi.enable = false;
|
||||
targets.kde.enable = false;
|
||||
};
|
||||
|
||||
xdg.mime.enable = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue