36 lines
600 B
Nix
36 lines
600 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
|
|
vscode
|
|
discord
|
|
spotify
|
|
keepassxc
|
|
moonlight-qt
|
|
nextcloud-client
|
|
pipewire
|
|
wireplumber
|
|
vlc
|
|
ghostty
|
|
];
|
|
};
|
|
}
|