-
Notifications
You must be signed in to change notification settings - Fork 0
/
ks.cfg
208 lines (139 loc) · 5.64 KB
/
ks.cfg
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
################################################################################
# #
# ____ __ _____ __ #
# / __ \____ / /_/ __(_) /__ _____ #
# / / / / __ \/ __/ /_/ / / _ \/ ___/ #
# / /_/ / /_/ / /_/ __/ / / __(__ ) #
# /_____/\____/\__/_/ /_/_/\___/____/ #
# ___ | |/ / /_________ ____ ___ ___ #
# / _ \| / __/ ___/ _ \/ __ `__ \/ _ \ #
# / __/ / /_/ / / __/ / / / / / __/ #
# \___/_/|_\__/_/ \___/_/ /_/ /_/\___/ #
# #
# mrcl's custom OS setup #
# #
# #
################################################################################
################################################################################
# INSTALLING THE SYSTEM #
################################################################################
# New installation, don't upgrade
install
# Use network installation
url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
# Use graphical install
graphical
# Install moar bettar repos
repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch" --cost=0
repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-$releasever&arch=$basearch" --includepkgs=rpmfusion-free-release
repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-$releasever&arch=$basearch" --cost=0
repo --name=rpmfusion-nonfree --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-$releasever&arch=$basearch" --includepkgs=rpmfusion-nonfree-release
repo --name=rpmfusion-nonfree-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-$releasever&arch=$basearch" --cost=0
repo --name=yadm --baseurl="https://download.opensuse.org/repositories/home:TheLocehiliosan:yadm/Fedora_$releasever/home:TheLocehiliosan:yadm.repo" --cost=0
################################################################################
# CUSTOMISATIONS #
################################################################################
# Setup options
# -------------
# Run the Setup Agent on first boot
firstboot --enable
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us' --switch=caps:escape
# System language
lang en_US.UTF-8 --addsupport=nl_BE
# Network information
network --bootproto=dhcp --device=eth0 --ipv6=auto --activate
network --hostname=mrcl-pc
# System timezone
timezone Europe/Brussels --isUtc --ntpservers=ntp3.telenet-ops.be,ntp1.telenet-ops.be
# Users & Security
# ----------------
# System authorization information
auth --enableshadow --passalgo=sha512
rootpw --lock
user --groups=wheel --name=marcel --password=$6$22dHEPXLWsWdmBkl$S1/LWQY2ZxIj8d.X27yahPhvtDgOMR3GW6HqGeEruPPYQHURRMfapzFCIW7nnWXo8dtg6aBKt1nG1ODe4RolB0 --iscrypted --gecos="Marcel Samyn"
# Desktop environment
# -------------------
# X Window System configuration information
xconfig --startxonboot
################################################################################
# PACKAGES #
################################################################################
%packages --default
# Base environment
@core
@standard
@^workstation-product-environment
# From the Workstation spin
@hardware-support
@firefox
@libreoffice
@multimedia
@networkmanager-submodules
@printing
# Desktop
gnome-tweak-tool
network-manager-applet
raw-thumbnailer
yadm
# Development
@development-tools
redhat-rpm-config
emacs
git
vim-enhanced
zsh
fasd
feh
fzf
the_silver_searcher
exa
ripgrep
@python-science
ruby
ruby-devel
rubygems
LibRaw-devel
SDL2-devel
boost-devel
cmake
libjpeg-turbo-devel
mesa-libGL-devel
turbojpeg-devel
libXft-devel
# Multimedia
gstreamer1-libav
gstreamer1-plugins-ugly
gthumb
kdenlive
vlc # this will pull up a lot of codecs as well
x264
youtube-dl
# Work
texlive-scheme-basic # the basics, we'll be able to create PDFs
# Others
glances
# Hardware
exfat-utils
fuse-exfat
gnome-power-manager
lm_sensors
thinkfan
tlp
%end
################################################################################
# POST-INSTALL SCRIPTS #
################################################################################
# Make DHCP work out of the box
# -----------------------------
%post --nochroot
cp /etc/resolv.conf $INSTALL_ROOT/etc/resolv.conf
%end
# Set up my home folder
# ---------------------
%post --log=/root/post.log
# Fetch mah dotfiles
yadm clone --bootstrap https://github.com/iamarcel/dotfiles
%end
# Reboot after installation
reboot --eject