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;
|
||||
|
|
5
nixos/desktop/plasma.nix
Normal file
5
nixos/desktop/plasma.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ ... }: {
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.displayManager.sddm.wayland.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
}
|
|
@ -9,7 +9,7 @@
|
|||
../common
|
||||
./hardware-configuration.nix
|
||||
../services/postgres.nix
|
||||
../desktop/hyprland.nix
|
||||
../desktop/plasma.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
@ -84,9 +84,14 @@
|
|||
};
|
||||
|
||||
# hyprland stuff
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
};
|
||||
# programs.hyprland = {
|
||||
# enable = true;
|
||||
# };
|
||||
|
||||
# enable ppd specifically for the framework
|
||||
services.power-profiles-daemon.enable = true;
|
||||
|
||||
boot.kernelParams = lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") ["rtc_cmos.use_acpi_alarm=1"] ;
|
||||
|
||||
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
|
||||
system.stateVersion = "24.05";
|
||||
|
|
Loading…
Add table
Reference in a new issue