{ config, lib, pkgs, ... }: let cfg = config.skyg.nixos.desktop; in { config = lib.mkIf cfg.enable { # Flatpak services.flatpak.enable = true; services.flatpak.remotes = [ { name = "flathub-beta"; location = "https://flathub.org/beta-repo/flathub-beta.flatpakrepo"; } { name = "flathub"; location = "https://dl.flathub.org/repo/flathub.flatpakrepo"; } ]; # Mobile Connect programs.kdeconnect.enable = true; environment.systemPackages = with pkgs; [ # General utils busybox gcc rofimoji # emoji picker feh # image viewer xdg-desktop-portal # copy to clipboard wl-clipboard-x11 xclip # socials zoom-us betterdiscordctl discord signal-desktop skypeforlinux # development vscode # mail thunderbird # password bitwarden-desktop # documents onlyoffice-bin_latest # video vlc vlc-bittorrent # terminal alacritty alacritty-theme # wine wineWowPackages.stable winetricks wineWowPackages.waylandFull # Video recording obs-studio # Browser chromium google-chrome # Photo Editing krita gimp-with-plugins ]; services.flatpak.packages = [ "com.slack.Slack" "com.spotify.Client" "com.cassidyjames.butler" "dev.zed.Zed" "io.dbeaver.DBeaverCommunity" "it.fabiodistasio.AntaresSQL" "io.github.zen_browser.zen" "com.github.sdv43.whaler" ]; programs.firefox = { enable = true; }; home-manager.users.${config.skyg.user.name}.home.shellAliases = { open-image = "feh"; open-file = "nautilus"; }; }; }