Created the base for mkosi

This commit is contained in:
Anton Hvornum 2026-05-10 08:29:20 +02:00
parent 2de7254b21
commit 310e3534e3
No known key found for this signature in database
GPG Key ID: D4B58E897A929F2E
5 changed files with 98 additions and 0 deletions

View File

@ -0,0 +1,49 @@
[Distribution]
Distribution=arch
# LocalMirror=file:///var/lib/localmirror
[Output]
Format=uki
# Format=disk
[Include]
Include=mkosi-vm
[Validation]
SecureBoot=false
SecureBootAutoEnroll=false
Sign=false
# Signing artifacts (hashsums etc) using a GPG key:
# Key=D4B58E897A929F2E
# Signing secure boot using PIV on yubikey:
# SecureBoot=true
# SecureBootKey=pkcs11:
# SecureBootCertificate=secureboot.crt
[Content]
Packages=
pacman
archlinux-keyring
amd-ucode
intel-ucode
# tpm2-tss
# libfido2
# libp11-kit
WithDocs=false
RootPassword=toor
Timezone=Europe/Stockholm
Keymap=sv-latin1
InitrdProfiles=network
[Config]
Profiles=archinstall
[Build]
Incremental=true
ToolsTree=default
ToolsTreeProfiles=devel,misc,package-manager,runtime,gui
[Runtime]
Console=gui
CPUs=4
RAM=8G

View File

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/bin/agetty --noreset --noclear --autologin root - ${TERM}

View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
git clone https://github.com/archlinux/archinstall.git /root/archinstall

View File

@ -0,0 +1,43 @@
[Content]
Packages=
acpid
intel-media-driver
linux-firmware
linux-firmware-intel
ca-certificates-mozilla
ca-certificates-utils
nano
gvfs
noto-fonts
cantarell-fonts
ttf-dejavu
polkit
bash
bzip2
coreutils
file
filesystem
findutils
gawk
gcc-libs
gettext
glibc
grep
gzip
iproute2
iputils
licenses
pciutils
procps-ng
psmisc
sed
tar
linux
diffutils
less
strace
util-linux
xz
git
WithDocs=false
KernelCommandLine=quiet splash