-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
user_settings.ps1
132 lines (107 loc) · 4.96 KB
/
user_settings.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<#
▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█ ▄▄ ▄ ▄▄ ▄ ▄▄▄▄ ▄▄ ▄ ▄▄ ▄▄▄▄ ▄▄▄▄ ▄▄▄ ▀
█ ██ █ ██ █ ██ █ ██ █ ██ ██ █ ██ █ ██▀ █
■ ██▄▀ ██▄█ ██▄█ ██ █ ▀▀ ██ ██▄█ ██▄▀ ▀██▄ ■
█ ██ █ ▄▄ █ ██ █ ██ █ ██▄▄ ██ █ ██ █ ▄██ █
▄ ▀▀ ▀ ▀▀▀▀ ▀▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀ ▀ ▀▀▀▀ ▀▀▀ █
▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀
Win11Tweaks (KYAU Labs Edition)
Copyright (C) 2023 KYAU Labs (https://kyaulabs.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
#>
function Add-Configuration {
# PSScriptAnalyzer - ignore unused variables
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseDeclaredVarsMoreThanAssignments", "", Justification = "Settings assignments are imported by other scripts.")]
param()
<#
# Windows Defaults
#>
# Computer Name
$script:ComputerName = "WIN11TWEAK"
# Network WorkGroup
$script:WorkGroupName = "KYAULABS"
# Keep Windows Defender? ($true / $false)
# NOTE: Removal breaks Windows Update.
$script:WinDefender = $true
# Keep Windows Security? ($true/$false)
# NOTE: Removal not recommended, breaks Windows Defender & Windows Update.
$script:SecurityHealth = $true
# Keep Microsoft 365 / OneDrive ($true/$false)
$script:Microsoft365 = $true
# Keep Microsoft Edge? ($true / $false)
# NOTE: Removal not recommended, breaks search, widgets, etc.
# MSEdgeRedirect Recommended.
$script:MicrosoftEdge = $true
# Desktop / Lock Screen Wallpaper
$script:WallpaperPath = "${Env:WINDIR}\Web\4K\Wallpaper\Windows\img19_1920x1200.jpg"
#$imagePath = "${env:USERPROFILE}\Pictures\wallpaper-21_9.png"
# Mapped Network Drives
#
# $MappedDrives = @(
# [PSCustomObject]@{
# DriveLetter = "Z"
# RemotePath = "\\server\location"
# Name = "SHARENAME"
# Icon = "%ProgramData%\win11tweak-hardware.dll,60"
# },
# ...
# )
$script:MappedDrives = @(
[PSCustomObject]@{
DriveLetter = "N"
RemotePath = "\\10.0.10.20\archive"
Name = "ARCHiVE"
Icon = "%ProgramData%\win11tweak-hardware.dll,60"
}
)
<#
# Packages
#>
# Default Chocolatey Packages to Install
$script:ChocoPkgs = @(
# default applications
"7zip","autoruns","ccleaner","ccenhancer","choco-protocol-support","chocolateygui","exiftool","everything",
"hashcheck","imageglass","mediainfo","mpv","msedgeredirect","nfopad","nircmd","scrcpy","sharex","simplewall",
"speedcrunch","sumatrapdf","sysinternals","virt-viewer","windirstat","yt-dlp",
# development
"heidisql","kdiff3","marktext","reshack","sublimetext4","shellcheck",
# gaming
"playnite","amazongames","battle.net","epicgameslauncher","goggalaxy","origin","steam","ubisoft-connect",
# hardware applications/drivers
"adb","cpu-z.install","msiafterburner","voicemeeter-potato",
# security applications
#"gpg4win"
"keepassxc","yubico-authenticator","yubikey-manager","yubikey-piv-manager"
)
# Default MSYS2/Mingw64 Packages to Install
$script:MsysPkgs = @(
"mingw-w64-x86_64-{git,git-doc-html,git-doc-man,lua,starship,toolchain,zstd}",
"colordiff","fish","openssh","p7zip","rsync","tmux","unrar","vim"
)
<#
# Git
#>
# Git - UserName (default: Windows login username)
$script:UserName = ${Env:UserName}.ToLower()
# Git - Email Address
$script:Email = "[email protected]"
# Git - GPG Key
#
# Run the following command and look for the "sec#" line and get the key
# listed after the encryption type
# (ex. "sec# ed25519/GPG_SHORT_KEY DATE-MM-DD [C]")
#
# gpg --list-secret-keys --keyid-format LONG
$script:GPG_Key = "1F125B5425110CCE"
}
Add-Configuration