Clean home env

This commit is contained in:
soraefir
2026-06-14 10:39:32 +02:00
parent 577fd364fd
commit abce77a6a6
16 changed files with 125 additions and 123 deletions

View File

@@ -1,41 +1,17 @@
{ lib, config, pkgs, ... }:
let
dbus-hyprland-environment = pkgs.writeTextFile {
name = "dbus-hyprland-environment";
destination = "/bin/dbus-hyprland-environment";
executable = true;
text = ''
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=hyprland
systemctl --user stop pipewire wireplumber xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
systemctl --user start pipewire wireplumber xdg-desktop-portal-hyprland xdg-desktop-portal-gtk
'';
};
in {
{ lib, config, pkgs, ... }: {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = with pkgs; [
dbus-hyprland-environment
wayland
hyprpicker
hyprshot
slurp
satty
swappy
cliphist
wl-clipboard
wlr-randr
wdisplays
kanshi
glib
brightnessctl
awww
playerctl
];
xdg.mimeApps = {