summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2025-08-30 17:16:37 +0300
committerKyren223 <contact@kyren.codes>2025-08-30 17:16:37 +0300
commit518916f0f5e29d47f1e6ba3c9b3350632f149901 (patch)
tree0d7f0dd5a8b62c198e3bbbf1660961da5e030e6e /modules
parent8ea9cbb602b459df4097d724070a67e32de7da2f (diff)
Removed stuff from hyprland
Diffstat (limited to 'modules')
-rw-r--r--modules/apps.nix18
-rw-r--r--modules/display.nix55
2 files changed, 16 insertions, 57 deletions
diff --git a/modules/apps.nix b/modules/apps.nix
index 4dbf343..6856e35 100644
--- a/modules/apps.nix
+++ b/modules/apps.nix
@@ -20,10 +20,6 @@
libnotify
wl-clipboard
jdk
- waybar
- swaynotificationcenter # For notifications
- wl-clip-persist # Persist clipboard history after app closes
- cliphist # Clipboard history
nerd-fonts.jetbrains-mono
@@ -54,20 +50,13 @@
gparted
gnome-clocks
inputs.zen-browser.packages."${system}".twilight
- chromium # for firefox/zen issue not rendering emojis properly
krita
- pipeline
+ pipeline # Youtube desktop app
(flameshot.override { enableWlrSupport = true; })
- qdirstat
- wofi
+ qdirstat # WizTree for linux
+ kdePackages.ark
kdePackages.dolphin
eog
- kdePackages.ark
- kdePackages.xwaylandvideobridge
- rose-pine-kvantum
- kdePackages.qt5compat
- kdePackages.qt6ct
- kdePackages.breeze-icons
kopia-ui
rclone-ui
@@ -78,7 +67,6 @@
# Terminal
ghostty
- kitty # Temp for hyprland
oh-my-posh
tmux
neovim
diff --git a/modules/display.nix b/modules/display.nix
index 89e62d1..87b183a 100644
--- a/modules/display.nix
+++ b/modules/display.nix
@@ -1,45 +1,4 @@
-{ pkgs, lib, inputs, ... }:
-with lib; let
- hyprPluginPkgs = inputs.hyprland-plugins.packages.${pkgs.system};
- hypr-plugin-dir = pkgs.symlinkJoin {
- name = "hyrpland-plugins";
- paths = with hyprPluginPkgs; [
- hyprbars
- ];
- };
-in {
-
- programs.hyprland = {
- enable = true;
- package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
- portalPackage =
- inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
- };
- environment.sessionVariables = {
- HYPR_PLUGIN_DIR = hypr-plugin-dir;
- };
-
- xdg.portal = {
- enable = true;
- xdgOpenUsePortal = true;
-
- extraPortals = with pkgs; [
- kdePackages.xdg-desktop-portal-kde
- xdg-desktop-portal-gtk
- xdg-desktop-portal-wlr
- ];
-
- config = {
- hyprland = {
- default = [ "hyprland" "gtk" ];
- # "org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
- "org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
- };
- };
- };
-
- # Optional, hint electron apps to use wayland:
- # environment.sessionVariables.NIXOS_OZONE_WL = "1";
+{ pkgs, ... }: {
# Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm.enable = true;
@@ -61,4 +20,16 @@ in {
variant = "";
};
+ # From when I tried hyprland, might aswell keep this?
+ xdg.portal = {
+ enable = true;
+ xdgOpenUsePortal = true;
+
+ extraPortals = with pkgs; [
+ kdePackages.xdg-desktop-portal-kde
+ xdg-desktop-portal-gtk
+ xdg-desktop-portal-wlr
+ ];
+ };
+
}