nix-config/nixos/_mixins/desktop/pantheon-apps.nix
2024-05-23 15:02:20 -04:00

31 lines
698 B
Nix

{ pkgs, ... }: {
imports = [
../services/flatpak.nix
../services/sane.nix
];
# Add additional apps and include Yaru for syntax highlighting
environment.systemPackages = with pkgs; [
appeditor
celluloid
gthumb
formatter
usbimager
yaru-theme
];
# Add GNOME Disks, Pantheon Tweaks and Seahorse
programs = {
gnome-disks.enable = true;
pantheon-tweaks.enable = true;
seahorse.enable = true;
};
systemd.services.configure-appcenter-repo = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.flatpak ];
script = ''
flatpak remote-add --if-not-exists appcenter https://flatpak.elementary.io/repo.flatpakrepo
'';
};
}