Skip to content

Commit

Permalink
refactor: hyprland home-manager module systemd handles environment va…
Browse files Browse the repository at this point in the history
…riables now
  • Loading branch information
khaneliman committed Oct 7, 2023
1 parent fc1dd5a commit 5435b5f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 83 deletions.
4 changes: 0 additions & 4 deletions modules/home/desktop/hyprland/apps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ in
# ░█▀█░█▀▀░█▀▀░░░▀▀█░░█░░█▀█░█▀▄░░█░░█░█░█▀▀
# ░▀░▀░▀░░░▀░░░░░▀▀▀░░▀░░▀░▀░▀░▀░░▀░░▀▀▀░▀░░

# import env
"${getExe pkgs.khanelinix.import_env} system"
"${getExe pkgs.khanelinix.import_env} tmux"

# Startup background apps
"${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1 &"
"${getExe pkgs.hyprpaper}"
Expand Down
23 changes: 14 additions & 9 deletions modules/home/desktop/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,6 @@ in

wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
systemdIntegration = true;
package = hyprland.packages.${system}.hyprland;

settings = {
exec = [
"notify-send --icon ~/.face -u normal \"Hello $(whoami)\""
];
};

extraConfig = ''
source=~/.config/hypr/displays.conf
Expand All @@ -76,6 +67,20 @@ in
${cfg.extraConfig}
'';

package = hyprland.packages.${system}.hyprland;

settings = {
exec = [
"notify-send --icon ~/.face -u normal \"Hello $(whoami)\""
];
};

systemd = {
enable = true;
};

xwayland.enable = true;
};
};
}
70 changes: 0 additions & 70 deletions packages/import_env/default.nix

This file was deleted.

0 comments on commit 5435b5f

Please sign in to comment.