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 = {
microsoftAccount = true;
groups = [ "Administrators" ];
programs.ubiquiti-unifi-controller.enable = true;
};
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";
Start-SoftwareInstaller @args `
-Installer {
-UserConfigurator {
Write-Information "Downgrading AutoHotkey…";
$id = "AutoHotkey.AutoHotkey";
$uninstall = { winget uninstall --accept-source-agreements -e --id "$id" };