moving hyprland to system-wide instead of hm to test 2

This commit is contained in:
cnst
2024-06-30 07:56:37 +02:00
parent e7df7d8698
commit 51e10705bb
6 changed files with 4 additions and 56 deletions

View File

@@ -1,6 +1,7 @@
{
imports = [
./git
./hypr
./shell/cnst.nix
./appearance
];

View File

@@ -13,7 +13,6 @@
extraPortals = [xdph];
configPackages = [hyprland];
};
home.packages = with pkgs; [
grimblast
slurp
@@ -22,29 +21,10 @@
tofi
gnome.gnome-calculator
];
home.sessionVariables = {
BROWSER = "firefox";
NIXOS_OZONE_WL = 1;
SDL_VIDEODRIVER = "wayland";
QT_QPA_PLATFORM = "wayland";
XDG_SESSION_TYPE = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
};
wayland.windowManager.hyprland = {
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"
];
};
};
}

View File

@@ -4,6 +4,7 @@
./firefox
./neovim
./lutris
./mako
];
home.packages = with pkgs; [
# APPLICATIONS