Install UniFi controller per user

This commit is contained in:
Manuel Thalmann 2024-10-17 03:50:08 +02:00
parent 4f273b4b89
commit c51f888284
3 changed files with 2 additions and 3 deletions

View file

@ -17,6 +17,7 @@
users.manuel = { users.manuel = {
microsoftAccount = true; microsoftAccount = true;
groups = [ "Administrators" ]; groups = [ "Administrators" ];
programs.ubiquiti-unifi-controller.enable = true;
}; };
programs = { programs = {

View file

@ -99,8 +99,6 @@ in {
}; };
}; };
}; };
windows.programs.ubiquiti-unifi-controller.enable = true;
}; };
}; };
} }

View file

@ -3,7 +3,7 @@
. "$PSScriptRoot/../../../Common/Scripts/System.ps1"; . "$PSScriptRoot/../../../Common/Scripts/System.ps1";
Start-SoftwareInstaller @args ` Start-SoftwareInstaller @args `
-Installer { -UserConfigurator {
Write-Information "Downgrading AutoHotkey…"; Write-Information "Downgrading AutoHotkey…";
$id = "AutoHotkey.AutoHotkey"; $id = "AutoHotkey.AutoHotkey";
$uninstall = { winget uninstall --accept-source-agreements -e --id "$id" }; $uninstall = { winget uninstall --accept-source-agreements -e --id "$id" };