From 91e810911772e81b6900e778b98e4c4a245a5d90 Mon Sep 17 00:00:00 2001 From: Ari Sosnovsky Date: Fri, 30 Aug 2024 22:48:44 -0400 Subject: [PATCH] Initial nwg-shell --- configs/hyprland/mine/hypr/monitors.conf | 0 configs/hyprland/mine/hypr/workspaces.conf | 0 modules/nixos/desktop/hyprland/nwg-shell.nix | 25 ++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 configs/hyprland/mine/hypr/monitors.conf create mode 100644 configs/hyprland/mine/hypr/workspaces.conf create mode 100644 modules/nixos/desktop/hyprland/nwg-shell.nix diff --git a/configs/hyprland/mine/hypr/monitors.conf b/configs/hyprland/mine/hypr/monitors.conf new file mode 100644 index 0000000..e69de29 diff --git a/configs/hyprland/mine/hypr/workspaces.conf b/configs/hyprland/mine/hypr/workspaces.conf new file mode 100644 index 0000000..e69de29 diff --git a/modules/nixos/desktop/hyprland/nwg-shell.nix b/modules/nixos/desktop/hyprland/nwg-shell.nix new file mode 100644 index 0000000..82a727e --- /dev/null +++ b/modules/nixos/desktop/hyprland/nwg-shell.nix @@ -0,0 +1,25 @@ +{ config, lib, pkgs, ... }: +with lib; + +let + cfg = config.skyg.nixos.desktop.hyprland; +in +{ + config = mkIf (cfg.enabled && cfg.useNWG) { + programs.hyprlock.enable = true; + environment.systemPackages = with pkgs; [ + # general utilities + nwg-bar + nwg-menu + nwg-look + nwg-dock + nwg-panel + nwg-hello + nwg-drawer + nwg-wrapper + nwg-displays + nwg-launchers + nwg-dock-hyprland + ]; + }; +}