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";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
wezterm.url = "github:wez/wezterm?dir=nix";
|
wezterm.url = "github:wez/wezterm?dir=nix";
|
||||||
agenix = {
|
agenix = {
|
||||||
url = "github:yaxitech/ragenix";
|
url = "github:yaxitech/ragenix";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ inputs, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# Allow Chromium & Electron apps run natively in wayland
|
# Allow Chromium & Electron apps run natively in wayland
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
@ -16,12 +16,13 @@
|
|||||||
};
|
};
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
# set the flake package
|
||||||
};
|
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
xdg = {
|
# make sure to also set the portal package, so that they are in sync
|
||||||
autostart.enable = true;
|
portalPackage =
|
||||||
portal.enable = true;
|
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||||
};
|
};
|
||||||
|
xdg.autostart.enable = true;
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
|
@ -8,10 +8,13 @@ decoration {
|
|||||||
new_optimizations = true
|
new_optimizations = true
|
||||||
}
|
}
|
||||||
|
|
||||||
drop_shadow = true
|
shadow {
|
||||||
shadow_ignore_window = true
|
enabled = true
|
||||||
shadow_range = 4
|
range = 4
|
||||||
shadow_render_power = 2
|
ignore_window = true
|
||||||
|
render_power = 2
|
||||||
|
}
|
||||||
|
|
||||||
dim_special = 0.05
|
dim_special = 0.05
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user