moving hyprland to system-wide instead of hm to test 2
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
imports = [
|
||||
./git
|
||||
./hypr
|
||||
./shell/cnst.nix
|
||||
./appearance
|
||||
];
|
||||
|
||||
@@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user