From f5c44390df91f98266ffb7f4ab409c50c223e46f Mon Sep 17 00:00:00 2001 From: Kyler Date: Wed, 7 May 2025 17:41:28 -0600 Subject: [PATCH] more hyprland setup --- home/home.nix | 5 +++++ home/hyprland.nix | 14 ++++++++++++++ sys/hyprland.nix | 11 +++-------- 3 files changed, 22 insertions(+), 8 deletions(-) create mode 100644 home/hyprland.nix diff --git a/home/home.nix b/home/home.nix index 72e5fc2..bbe18ef 100644 --- a/home/home.nix +++ b/home/home.nix @@ -1,6 +1,11 @@ { config, pkgs, ... }: { + imports = + [ + ./hyprland.nix + ]; + home.username = "kyler"; home.homeDirectory = "/home/kyler"; diff --git a/home/hyprland.nix b/home/hyprland.nix new file mode 100644 index 0000000..79f520d --- /dev/null +++ b/home/hyprland.nix @@ -0,0 +1,14 @@ +{ config, pkgs, ... }: + +{ + home.packages = with pkgs; [ + wl-clipboard + ]; + + wayland.windowManager.hyprland = { + enable = true; + settings = { + + }; + }; +} diff --git a/sys/hyprland.nix b/sys/hyprland.nix index 0a008b5..3b90b55 100644 --- a/sys/hyprland.nix +++ b/sys/hyprland.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ config, pkgs, ... }: { @@ -10,15 +10,10 @@ xdg.portal.enable = true; xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - hardware = { - opengl.enable = true; - }; + hardware.graphics.enable = true; environment.systemPackages = with pkgs; [ - (waybar.overrideAttrs (oldAttrs: { - mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ]; - }) - ) + waybar dunst libnotify kitty