fixed system, some hyprland issues
This commit is contained in:
parent
42a08f5005
commit
0efae6bb84
7 changed files with 106 additions and 120 deletions
|
@ -18,8 +18,9 @@
|
|||
security.polkit.enable = true;
|
||||
programs.kdeconnect.enable = true;
|
||||
programs.dconf.enable = true;
|
||||
boot.kernelModules = [ "v4l2loopback" ];
|
||||
boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
|
||||
# boot.kernelModules = [ "v4l2loopback" ];
|
||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
# boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
|
||||
# services.picom.enable = true;
|
||||
modules = {
|
||||
other = {
|
||||
|
@ -50,7 +51,7 @@
|
|||
};
|
||||
services = { pipewire.enable = true; };
|
||||
themes = {
|
||||
gtk = { enable = false; };
|
||||
gtk = { enable = true; };
|
||||
qt = {
|
||||
enable = false;
|
||||
package = pkgs.kde-gruvbox;
|
||||
|
|
|
@ -8,6 +8,8 @@ let
|
|||
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system})
|
||||
wl-clipboard swww wlsunset;
|
||||
inherit (inputs.waybar.packages.${pkgs.system}) waybar;
|
||||
inherit (inputs.split-monitor-workspaces.packages.${pkgs.system})
|
||||
split-monitor-workspaces;
|
||||
in {
|
||||
options.modules.programs.hyprland.enable = mkEnableOption "hyprland";
|
||||
config = mkIf cfg.enable {
|
||||
|
@ -24,7 +26,7 @@ in {
|
|||
GDK_BACKEND = "wayland";
|
||||
QT_QPA_PLATFORM = "wayland";
|
||||
LIBSEAT_BACKEND = "logind";
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
# WLR_NO_HARDWARE_CURSORS = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
||||
|
@ -39,10 +41,8 @@ in {
|
|||
home-manager.users.${username} = {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||
plugins = [
|
||||
inputs.split-monitor-workspaces.packages.${pkgs.system}.split-monitor-workspaces
|
||||
];
|
||||
package = hyprland;
|
||||
plugins = [ split-monitor-workspaces ];
|
||||
xwayland.enable = true;
|
||||
systemd = {
|
||||
enable = true;
|
||||
|
@ -258,7 +258,7 @@ in {
|
|||
};
|
||||
exec-once = [
|
||||
#start waybar
|
||||
"${waybar}/bin/waybar"
|
||||
# "${waybar}/bin/waybar"
|
||||
|
||||
# run persistent special workspace windows
|
||||
"[workspace special:nixos silent;tile] ${pkgs.kitty}/bin/kitty -d ~/repos/nichts -e hx"
|
||||
|
@ -291,21 +291,6 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
environment.sessionVariables = {
|
||||
/* LIBVA_DRIVER_NAME = "nvidia";
|
||||
XDG_SESSION_TYPE = "wayland";
|
||||
GBM_BACKEND = "nvidia-drm";
|
||||
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
|
||||
SDL_VIDEODRIVER = "wayland";
|
||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||
CLUTTER_BACKEND = "wayland";
|
||||
WLR_RENDERER = "vulkan";
|
||||
XDG_CURRENT_DESKTOP = "Hyprland";
|
||||
XDG_SESSION_DESKTOP = "Hyprland";
|
||||
GTK_USE_PORTAL = "1";
|
||||
NIXOS_XDG_OPEN_USE_PORTAL = "1";
|
||||
*/
|
||||
};
|
||||
hardware = {
|
||||
opengl.enable = true;
|
||||
nvidia.modesetting.enable = true;
|
||||
|
@ -314,7 +299,7 @@ in {
|
|||
(waybar.overrideAttrs (oldAttrs: {
|
||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
}))
|
||||
dunst
|
||||
mako
|
||||
libnotify
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue