Install UniFi controller per user
This commit is contained in:
parent
4f273b4b89
commit
c51f888284
3 changed files with 2 additions and 3 deletions
|
@ -17,6 +17,7 @@
|
||||||
users.manuel = {
|
users.manuel = {
|
||||||
microsoftAccount = true;
|
microsoftAccount = true;
|
||||||
groups = [ "Administrators" ];
|
groups = [ "Administrators" ];
|
||||||
|
programs.ubiquiti-unifi-controller.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -99,8 +99,6 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
windows.programs.ubiquiti-unifi-controller.enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" };
|
||||||
|
|
Loading…
Reference in a new issue