This commit is contained in:
2026-02-23 13:51:11 +01:00
parent e7aabcb4a7
commit 2b8f7383ad
4 changed files with 519 additions and 8 deletions

View File

@@ -1,9 +1,20 @@
{ isNixOS, lib, ... }:
{
inputs,
pkgs,
isNixOS,
lib,
...
}:
{
wayland.windowManager.hyprland = {
enable = true;
package = lib.mkIf (!isNixOS) null;
package =
if isNixOS then inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland else null;
portalPackage = lib.mkIf (
isNixOS
) inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
xwayland.enable = true;
settings = {
"$mainMod" = "SUPER";
@@ -29,7 +40,7 @@
"col.inactive_border" = "$overlay1";
resize_on_border = false;
allow_tearing = false;
layout = "dwindle";
layout = "scrolling";
};
animations = {

View File

@@ -2,6 +2,9 @@
{
home.packages = with pkgs; [
waypaper
swww
gnupg
libnotify
cliphist
gh