summaryrefslogtreecommitdiff
path: root/modules/apps/astal.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apps/astal.nix')
-rw-r--r--modules/apps/astal.nix42
1 files changed, 0 insertions, 42 deletions
diff --git a/modules/apps/astal.nix b/modules/apps/astal.nix
deleted file mode 100644
index 505fe29..0000000
--- a/modules/apps/astal.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- lib,
- config,
- pkgs,
- inputs,
- system,
- ...
-}: let
- astal = inputs.self.packages.${system};
- inherit (lib) mkIf;
- cfg = config.apps;
-in {
- config = mkIf cfg.astal {
- default.appLauncher = lib.mkDefault "astal-launcher";
-
- home-manager.users.${config.user} = {
- home.packages = [
- astal.astal.shell
- astal.astal.launcher
- ];
-
- systemd.user.services.astal = {
- Install = {
- WantedBy = [config.default.session "tray.target"];
- };
-
- Unit = {
- ConditionEnvironment = "WAYLAND_DISPLAY";
- Description = "astal";
- After = [config.default.session];
- PartOf = [config.default.session "tray.target"];
- };
-
- Service = {
- ExecStart = "${astal.astal.shell}/bin/astal-shell";
- Restart = "always";
- RestartSec = "10";
- };
- };
- };
- };
-}