summaryrefslogtreecommitdiff
path: root/modules/desktops/hyprland/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktops/hyprland/default.nix')
-rw-r--r--modules/desktops/hyprland/default.nix52
1 files changed, 0 insertions, 52 deletions
diff --git a/modules/desktops/hyprland/default.nix b/modules/desktops/hyprland/default.nix
deleted file mode 100644
index f2b031b..0000000
--- a/modules/desktops/hyprland/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{
- inputs,
- config,
- system,
- lib,
- ...
-}: let
- inherit (lib) mkIf mkDefault;
- cfg = config.desktops;
-in {
- imports = [
- ./binds.nix
- ./env.nix
- ./idle.nix
- ./plugins.nix
- ./settings.nix
- ./wallpaper.nix
- ];
-
- config = mkIf cfg.hyprland {
- desktops.wayland = true;
-
- environment.systemPackages = [
- inputs.rose-pine-hyprcursor.packages.${system}.default
- ];
-
- xdg.portal = {
- extraPortals = [
- inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland
- ];
- config = {
- hyprland.common = ["gtk" "hyprland"];
- };
- };
-
- programs.hyprland = {
- enable = true;
- package = inputs.hyprland.packages.${system}.hyprland;
- portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
- };
-
- home-manager.users.${config.user} = {
- wayland.windowManager.hyprland = {
- enable = true;
- package = inputs.hyprland.packages.${system}.hyprland;
-
- xwayland.enable = true;
- systemd.enable = true;
- };
- };
- };
-}