From 8d8703b1cca5610c8fda777bc93c6f4220acb28a Mon Sep 17 00:00:00 2001 From: Mohamed Chrayed Date: Mon, 6 Apr 2026 16:07:47 +0200 Subject: [PATCH] hyprland --- flake.nix | 2 ++ modules/hyprland/sys/hyprland-apps.nix | 0 modules/hyprland/sys/hyprland.nix | 14 ++++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 modules/hyprland/sys/hyprland-apps.nix create mode 100644 modules/hyprland/sys/hyprland.nix diff --git a/flake.nix b/flake.nix index 6f25281..b0174d5 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,8 @@ plasma-manager.inputs.home-manager.follows = "home-manager"; jovian-nixos.url = "github:Jovian-Experiments/Jovian-NixOS"; jovian-nixos.inputs.nixpkgs.follows = "nixpkgs"; + caelestia-shell-url = "github:caelestia-dots/shell"; + caelestia-shell.inputs.nixpkgs.follows = "nixpkgs"; }; outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } diff --git a/modules/hyprland/sys/hyprland-apps.nix b/modules/hyprland/sys/hyprland-apps.nix new file mode 100644 index 0000000..e69de29 diff --git a/modules/hyprland/sys/hyprland.nix b/modules/hyprland/sys/hyprland.nix new file mode 100644 index 0000000..6a6e46a --- /dev/null +++ b/modules/hyprland/sys/hyprland.nix @@ -0,0 +1,14 @@ +{ inputs, ... }: { + flake.nixosModules.hyprland-sys-hyprland = { pkgs, ... }: { + programs.hyprland = { + enable = true; + xwayland.enable = true; + withSystemd = true; + withUWSM = true; + }; + + environment.systemPackages = [ + inputs.caelestia-shell.packages.${pkgs.stdenv.hostPlatform.system}.with-cli + ]; + }; +}