46 lines
979 B
Nix
46 lines
979 B
Nix
|
|
{ config, lib, pkgs, ... }:
|
|
let
|
|
cfg = config.my.profiles.apps;
|
|
in {
|
|
|
|
|
|
|
|
options.my.profiles.apps = with lib; {
|
|
desktop_apps = mkEnableOption "Basic Apps";
|
|
dev_apps = mkEnableOption "Development Apps";
|
|
gnome_apps = mkEnableOption "Gnome Extentions and Configuration";
|
|
};
|
|
|
|
config = lib.mkIf cfg.desktop_apps {
|
|
users.users.finn.packages = with pkgs; [
|
|
firefox
|
|
thunderbird
|
|
google-chrome
|
|
xfce.thunar
|
|
vscode
|
|
discord
|
|
spotify
|
|
keepassxc
|
|
moonlight-qt
|
|
nextcloud-client
|
|
neovim
|
|
pipewire
|
|
vlc
|
|
wireplumber
|
|
ghostty
|
|
numix-icon-theme
|
|
] ++ lib.optionals cfg.dev_apps [
|
|
jetbrains.webstorm
|
|
jetbrains.goland
|
|
jetbrains.pycharm-professional
|
|
jetbrains.idea-ultimate
|
|
go
|
|
] ++ lib.optionals cfg.gnome_apps [
|
|
gnomeExtensions.tweaks-in-system-menu
|
|
gnomeExtensions.wireless-hid
|
|
gnome.gnome-tweaks
|
|
];
|
|
};
|
|
}
|