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; default = false;
}; };
common = mkOption {
type = types.bool;
description = "A value indicating whether common software should be installed.";
default = false;
};
server = mkOption { server = mkOption {
type = types.bool; type = types.bool;
description = "A value indicating whether server applications should be installed."; description = "A value indicating whether server applications should be installed.";

View file

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

View file

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

View file

@ -129,25 +129,6 @@ function Deploy-SoftwareAction {
& "$softwarePath/thunderbird/Main.ps1" @arguments; & "$softwarePath/thunderbird/Main.ps1" @arguments;
& "$softwarePath/putty/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 # Internet Access
if ($install) { if ($install) {
if (Test-Program "brave") { if (Test-Program "brave") {
@ -175,8 +156,10 @@ function Deploy-SoftwareAction {
# Tools # 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"; 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*"; Remove-DesktopIcon "mRemoteNG*";
Install-ChocoPackage bitwarden -ArgumentList '--install-arguments="/ALLUSERS=1"';
Install-ChocoPackage ` Install-ChocoPackage `
7zip `
gimp ` gimp `
gpu-z ` gpu-z `
windirstat ` windirstat `
@ -189,6 +172,9 @@ function Deploy-SoftwareAction {
krita ` krita `
MetaX ` MetaX `
obs-studio ` obs-studio `
chocolateygui `
DefaultProgramsEditor `
keepass `
; ;
Remove-DesktopIcon "GIMP*"; Remove-DesktopIcon "GIMP*";
@ -204,9 +190,11 @@ function Deploy-SoftwareAction {
Install-WingetPackage ` Install-WingetPackage `
AntSoftware.AntRenamer ` AntSoftware.AntRenamer `
AppWork.JDownloader ` AppWork.JDownloader `
SomePythonThings.WingetUIStore `
; ;
Remove-DesktopIcon "JDownloader*"; Remove-DesktopIcon "JDownloader*";
Remove-DesktopIcon "UniGetUI*";
} }
} }