Remove the common category

This commit is contained in:
Manuel Thalmann 2024-10-22 01:18:31 +02:00
parent 785de5e5de
commit 0c877a798c
4 changed files with 13 additions and 36 deletions

View file

@ -27,12 +27,6 @@
default = false;
};
common = mkOption {
type = types.bool;
description = "A value indicating whether common software should be installed.";
default = false;
};
server = mkOption {
type = types.bool;
description = "A value indicating whether server applications should be installed.";

View file

@ -47,7 +47,6 @@ in {
software = {
essential = true;
common = true;
desktopExperience = true;
productivity = true;
socialMedia = true;

View file

@ -178,16 +178,12 @@ function deploySoftware -d "Deploys a the specified software action" -a action
networkmanager-openvpn \
networkmanager-openconnect \
proton-vpn-gtk-app \
protonvpn-cli-community
and if collectionActive common
yayinst \
img2pdf \
numbat-bin \
nvtop \
pdf2svg \
tnef
end
protonvpn-cli-community \
img2pdf \
numbat-bin \
nvtop \
pdf2svg \
tnef
end
and if collectionActive media

View file

@ -129,25 +129,6 @@ function Deploy-SoftwareAction {
& "$softwarePath/thunderbird/Main.ps1" @arguments;
& "$softwarePath/putty/Main.ps1" @arguments;
if ($collections.common) {
if ($install) {
Install-ChocoPackage `
7zip `
chocolateygui `
DefaultProgramsEditor `
keepass `
;
Install-ChocoPackage bitwarden -ArgumentList '--install-arguments="/ALLUSERS=1"';
Install-WingetPackage `
SomePythonThings.WingetUIStore `
;
Remove-DesktopIcon "UniGetUI*";
}
}
# Internet Access
if ($install) {
if (Test-Program "brave") {
@ -175,8 +156,10 @@ function Deploy-SoftwareAction {
# Tools
Install-SetupPackage -Source "https://github.com/mRemoteNG/mRemoteNG/releases/download/2023.03.03-v1.77.3-nb/mRemoteNG-Installer-1.77.3.nb-1784.msi" -ArgumentList "/Quiet";
Remove-DesktopIcon "mRemoteNG*";
Install-ChocoPackage bitwarden -ArgumentList '--install-arguments="/ALLUSERS=1"';
Install-ChocoPackage `
7zip `
gimp `
gpu-z `
windirstat `
@ -189,6 +172,9 @@ function Deploy-SoftwareAction {
krita `
MetaX `
obs-studio `
chocolateygui `
DefaultProgramsEditor `
keepass `
;
Remove-DesktopIcon "GIMP*";
@ -204,9 +190,11 @@ function Deploy-SoftwareAction {
Install-WingetPackage `
AntSoftware.AntRenamer `
AppWork.JDownloader `
SomePythonThings.WingetUIStore `
;
Remove-DesktopIcon "JDownloader*";
Remove-DesktopIcon "UniGetUI*";
}
}