move hypr

This commit is contained in:
cnst
2024-07-02 16:50:52 +02:00
parent ffb53bf615
commit 661e03b4f4
10 changed files with 57 additions and 43 deletions

View File

@@ -9,6 +9,12 @@
# Util
pkgs.tmux
pkgs.tmuxifier
# Misc
pkgs.protonup
];
sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "/home/cnst/.steam/root/compatibilitytools.d";
};
};
}

View File

@@ -11,6 +11,7 @@
./zsh.nix
./cnix-pkgs.nix
./fonts.nix
./hyprland.nix
];
home-manager = {
# useGlobalPkgs = true;

7
hosts/core/hyprland.conf Normal file
View File

@@ -0,0 +1,7 @@
# HYPRLAND CONFIGURATION
source=./land/appearance.conf
source=./land/inputs.conf
source=./land/keybinds.conf
source=./land/rules.conf
source=./land/startup.conf

View File

@@ -3,5 +3,23 @@
enable = true;
package = pkgs.hyprland;
xwayland.enable = true;
extraConfig = ''
${builtins.readFile ./hyprland.conf}
'';
systemd = {
enable = true;
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
};
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
AMD_VULKAN_ICD = "RADV";
SDL_VIDEODRIVER = "wayland";
QT_QPA_PLATFORM = "wayland";
XDG_SESSION_TYPE = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
};
}

View File

@@ -2,9 +2,7 @@
programs = {
steam = {
enable = true;
extraCompatPackages = [
pkgs.proton-ge-bin
];
gamescopeSession.enable = true;
package = pkgs.steam.override {
extraPkgs = pkgs:
with pkgs; [

View File

@@ -34,6 +34,7 @@
};
xserver = {
enable = true;
videoDrivers = ["amdgpu"];
xkb = {
extraLayouts.hhkbse = {
description = "HHKBse by cnst";