summaryrefslogtreecommitdiff
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
parent8ea9cbb602b459df4097d724070a67e32de7da2f (diff)
Removed stuff from hyprland
-rw-r--r--flake.nix9
-rw-r--r--hosts/configuration.nix4
-rw-r--r--modules/apps.nix18
-rw-r--r--modules/display.nix55
4 files changed, 17 insertions, 69 deletions
diff --git a/flake.nix b/flake.nix
index 0c2eee9..f449c9d 100644
--- a/flake.nix
+++ b/flake.nix
@@ -23,15 +23,6 @@
url = "github:kyren223/eko/";
inputs.nixpkgs.follows = "nixpkgs";
};
-
- hyprland.url = "github:hyprwm/Hyprland/378e130f1426648d8d734049800128f9882805bf";
- hyprland-plugins = {
- url = "github:hyprwm/hyprland-plugins";
- inputs.hyprland.follows = "hyprland";
- };
-
- # Fix for dolphin on hyprland, see https://github.com/rumboon/dolphin-overlay/tree/main
- dolphin-overlay.url = "github:rumboon/dolphin-overlay";
};
outputs = { self, nixpkgs, ... }@inputs: {
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index 2ab084a..09ad44b 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -167,10 +167,8 @@
];
};
+ # From when I tried hyprland, might aswell keep this?
# Fixes "The name org.freedesktop.UDisks2 was not provided by any .service files"
# See https://www.reddit.com/r/NixOS/comments/1goziru/dolphin_on_hyprland/
services.udisks2.enable = true;
-
- # See https://github.com/rumboon/dolphin-overlay/tree/main
- nixpkgs.overlays = [ inputs.dolphin-overlay.overlays.default ];
}
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
+ ];
+ };
+
}