diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-23 22:33:44 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-23 22:33:44 -0400 |
commit | 328c741b1aac74020412e99e0dca7c728dbc92fa (patch) | |
tree | 461f4ebcd3252d542749a34668defd62de356c73 /modules/desktop/astal.nix | |
parent | removed unused packages (diff) | |
download | dotfiles-nix-328c741b1aac74020412e99e0dca7c728dbc92fa.tar.gz dotfiles-nix-328c741b1aac74020412e99e0dca7c728dbc92fa.tar.bz2 dotfiles-nix-328c741b1aac74020412e99e0dca7c728dbc92fa.zip |
refactor
Diffstat (limited to '')
-rw-r--r-- | modules/desktop/astal.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/modules/desktop/astal.nix b/modules/desktop/astal.nix new file mode 100644 index 0000000..2f7f0f3 --- /dev/null +++ b/modules/desktop/astal.nix @@ -0,0 +1,24 @@ +{ + lib, + config, + pkgs, + inputs, + ... +}: let + system = pkgs.stdenv.hostPlatform.system; + astal = inputs.self.packages.${system}; + + inherit (lib) mkIf; + cfg = config.desktop; +in { + config = mkIf cfg.astal { + default.appLauncher = lib.mkDefault "astal-launcher"; + + home-manager.users.${config.user} = { + home.packages = [ + astal.astal.shell + astal.astal.launcher + ]; + }; + }; +} |