refactor(nix/hypr): use hyprland from upstream
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 47s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 47s
This commit is contained in:
parent
c671f70423
commit
420147c5ca
@ -18,6 +18,7 @@
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
wezterm.url = "github:wez/wezterm?dir=nix";
|
||||
agenix = {
|
||||
url = "github:yaxitech/ragenix";
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
# Allow Chromium & Electron apps run natively in wayland
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
@ -16,12 +16,13 @@
|
||||
};
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
xdg = {
|
||||
autostart.enable = true;
|
||||
portal.enable = true;
|
||||
# set the flake package
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
# make sure to also set the portal package, so that they are in sync
|
||||
portalPackage =
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
xdg.autostart.enable = true;
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
@ -32,4 +33,4 @@
|
||||
};
|
||||
services.qemuGuest.enable = true;
|
||||
services.spice-vdagentd.enable = true;
|
||||
}
|
||||
}
|
||||
|
@ -8,10 +8,13 @@ decoration {
|
||||
new_optimizations = true
|
||||
}
|
||||
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_range = 4
|
||||
shadow_render_power = 2
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 4
|
||||
ignore_window = true
|
||||
render_power = 2
|
||||
}
|
||||
|
||||
dim_special = 0.05
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user