diff --git a/profiles/machines/manuel/DerGeret/config.nix b/profiles/machines/manuel/DerGeret/config.nix index ab80c4b3..335eb710 100644 --- a/profiles/machines/manuel/DerGeret/config.nix +++ b/profiles/machines/manuel/DerGeret/config.nix @@ -17,6 +17,7 @@ users.manuel = { microsoftAccount = true; groups = [ "Administrators" ]; + programs.ubiquiti-unifi-controller.enable = true; }; programs = { diff --git a/profiles/machines/manuel/Generic/config.nix b/profiles/machines/manuel/Generic/config.nix index 581f1e8d..f48ed88a 100644 --- a/profiles/machines/manuel/Generic/config.nix +++ b/profiles/machines/manuel/Generic/config.nix @@ -99,8 +99,6 @@ in { }; }; }; - - windows.programs.ubiquiti-unifi-controller.enable = true; }; }; } diff --git a/scripts/Windows/Software/ubiquiti-unifi-controller/Main.ps1 b/scripts/Windows/Software/ubiquiti-unifi-controller/Main.ps1 index 3e6790f9..1a280ae0 100644 --- a/scripts/Windows/Software/ubiquiti-unifi-controller/Main.ps1 +++ b/scripts/Windows/Software/ubiquiti-unifi-controller/Main.ps1 @@ -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" };