summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomuus <tomasz1.mrozinski@proton.me>2026-01-23 19:15:36 +0100
committerTomuus <tomasz1.mrozinski@proton.me>2026-01-23 19:15:36 +0100
commit166e6c8c25bfb119bf855a1514636fe9ebd079ef (patch)
treefccfa8f83861165d54df3f28630e637f17d1a438
parent328fb4a0aee8a10a89835d9d091cad382d3afff5 (diff)
Split hyprland config
-rw-r--r--modules/hyprland/new/applications.nix16
-rw-r--r--modules/hyprland/new/base.nix39
-rw-r--r--modules/hyprland/new/default.nix47
3 files changed, 60 insertions, 42 deletions
diff --git a/modules/hyprland/new/applications.nix b/modules/hyprland/new/applications.nix
new file mode 100644
index 0000000..c49f415
--- /dev/null
+++ b/modules/hyprland/new/applications.nix
@@ -0,0 +1,16 @@
+{ pkgs, ... }:
+
+{
+ environment.systemPackages = with pkgs; [
+ kdePackages.dolphin
+ kdePackages.dolphin-plugins
+ kdePackages.kio
+ kdePackages.kio-admin
+ kdePackages.kio-fuse
+ kdePackages.kio-extras
+ kdePackages.kio-gdrive
+
+ kdePackages.gwenview
+ kdePackages.ark
+ ];
+}
diff --git a/modules/hyprland/new/base.nix b/modules/hyprland/new/base.nix
new file mode 100644
index 0000000..2d5d328
--- /dev/null
+++ b/modules/hyprland/new/base.nix
@@ -0,0 +1,39 @@
+#base packages for hyprland
+
+{ pkgs, ... }:
+
+{
+ programs.hyprland.enable = true;
+ programs.hyprlock.enable = true;
+
+ services.udisks2.enable = true;
+
+ environment.systemPackages = with pkgs; [
+ kitty
+ waybar
+ rofi
+ quickshell #4 now jusr experiments, should be in local packages, but well
+ brightnessctl
+ kdePackages.breeze
+ mako
+ hyprmon
+ lxqt.lxqt-policykit
+ oh-my-posh
+
+ #Idk but one of these fixes dolphin not seeing apps
+ xdg-desktop-portal
+ xdg-desktop-portal-gtk
+ xdg-desktop-portal-hyprland
+ kdePackages.plasma-integration
+ shared-mime-info
+ xdg-utils
+ desktop-file-utils
+ ];
+
+ environment.etc."xdg/menus/applications.menu".source = "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
+
+ xdg.mime.enable = true;
+ xdg.menus.enable = true;
+ xdg.portal.enable = true;
+
+}
diff --git a/modules/hyprland/new/default.nix b/modules/hyprland/new/default.nix
index 4650ef7..6583a5f 100644
--- a/modules/hyprland/new/default.nix
+++ b/modules/hyprland/new/default.nix
@@ -1,47 +1,10 @@
-{ pkgs, userName, ... }:
+{ userName, ... }:
-{
- programs.hyprland.enable = true;
- services.udisks2.enable = true;
-
- environment.systemPackages = with pkgs;
- [
- kitty
- waybar
- rofi
- hyprlock
- quickshell
- brightnessctl
- hypridle
- kdePackages.breeze
- bibata-cursors
- mako
- kdePackages.dolphin
- kdePackages.dolphin-plugins
- cifs-utils
- kdePackages.baloo-widgets
- kdePackages.baloo
- kdePackages.kio-extras
- oh-my-posh
- hyprmon
- lxqt.lxqt-policykit
- xdg-desktop-portal
- xdg-desktop-portal-gtk
- xdg-desktop-portal-hyprland
- kdePackages.gwenview
- kdePackages.plasma-integration
- kdePackages.ark
- shared-mime-info
- xdg-utils
- desktop-file-utils
+{
+ imports = [
+ ./base.nix
+ ./applications.nix
];
- environment.etc."xdg/menus/applications.menu".source = "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
-
- xdg.mime.enable = true;
- xdg.menus.enable = true;
- xdg.portal.enable = true;
-
-
home-manager.users.${userName} = import ./config;
}