finally fixed hypr
This commit is contained in:
@@ -9,13 +9,6 @@
|
||||
./rofi.nix
|
||||
];
|
||||
|
||||
xdg.portal = let
|
||||
hyprland = config.wayland.windowManager.hyprland.package;
|
||||
xdph = pkgs.xdg-desktop-portal-hyprland.override {inherit hyprland;};
|
||||
in {
|
||||
extraPortals = [xdph];
|
||||
configPackages = [hyprland];
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
grimblast
|
||||
slurp
|
||||
@@ -24,19 +17,4 @@
|
||||
tofi
|
||||
gnome.gnome-calculator
|
||||
];
|
||||
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