diff options
author | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-09-17 22:07:16 -0400 |
commit | 68d03fe362b7e0df11662d8d6a1e01eac0bfae77 (patch) | |
tree | a76abd05f662f73b4083ddb0d8bf0d72c29e5a74 /modules/apps/astal.nix | |
parent | update commits (diff) | |
download | dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.gz dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.bz2 dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.zip |
refactor: remove modules folder, fully split home and system modules
Diffstat (limited to 'modules/apps/astal.nix')
-rw-r--r-- | modules/apps/astal.nix | 42 |
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"; - }; - }; - }; - }; -} |