Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- url --mirrorlist="https://mirrors.fedoraproject.org/metalink?repo=fedora-34&arch=x86_64"
- repo --name=fedora-updates --mirrorlist="https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f34&arch=x86_64" --cost=0
- repo --name=rpmfusion-free --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-34&arch=x86_64" --includepkgs=rpmfusion-free-release
- repo --name=rpmfusion-free-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-34&arch=x86_64" --cost=0
- repo --name=rpmfusion-nonfree --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-34&arch=x86_64" --includepkgs=rpmfusion-nonfree-release
- repo --name=rpmfusion-nonfree-updates --mirrorlist="https://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-34&arch=x86_64" --cost=0
- %pre-install --erroronfail
- echo 1 > /tmp/pre-install-started
- mount_point=/mnt/sysroot
- mkdir -p ${mount_point}/etc/skel/.config/i3
- #curl "https://raw.githubusercontent.com/*/main/i3" --output ${mount_point}/etc/skel/.config/i3/config
- #curl "https://raw.githubusercontent.com/*/main/bash_profile" --output ${mount_point}/etc/skel/.bash_profile
- sleep 5s
- exit 0
- %end
- %packages --multilib
- -dmenu
- -rxvt-unicode
- -i3lock
- -i3status
- -i3blocks
- #-xorg-x11-drv*
- @hardware-support
- @Multimedia --optional
- @base-x
- # start -- Fonts section
- liberation-sans-fonts
- liberation-serif-fonts
- dejavu-sans-fonts
- dejavu-serif-fonts
- # end -- Fonts section
- xorg-x11-drv-nvidia
- akmod-nvidia
- i3
- neovim
- bash-completion
- alacritty
- rofi
- %end
- text
- clearpart --drives=sda --all
- zerombr
- # Config causes read-only fs
- #reqpart --add-boot
- part /boot --asprimary --size=1000 --ondrive=sda --fstype ext4 --fsoptions="rw"
- part swap --asprimary --size=300 --ondrive=sda
- part / --asprimary --grow --maxsize=120000 --ondrive=sda --fstype ext4
- #autopart --type=plain --fstype=ext4 --encrypted --passphrase=cryptodisco000
- #part /home --asprimary --grow --maxsize=120000 --ondrive=sda --fstype ext4 --encrypted --passphrase=cryptodisco000
- bootloader --timeout=1 --location=mbr --driveorder=sda --boot-drive=sda --append="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau append=nvidia-drm.modeset"
- firewall --enabled
- network --onboot=yes --bootproto=dhcp --hostname=fedoraks
- keyboard us
- lang en_US --addsupport=ru_RU
- # :(
- selinux --permissive
- #services --disabled=mlocate-updatedb,mlocate-updatedb.timer,systemd-journal-catalog-update,systemd-journal-flush,systemd-journald,systemd-journald.socket,systemd-journald-audit.socket
- services --disabled=mlocate-updatedb,mlocate-updatedb.timer
- timezone Europe/Kiev
- rootpw --lock
- user --name=dmitry --password="$6$s44VIa$lPfzaYEqQEsH5RtoWdF5yxq51rPcnAlayWJdv5BQ1qR/ZbGPxjaOrc.mMb2izk/5aWPkeZe6BNha0YxlADSvx/" --iscrypted --groups=wheel
- rootpw --lock
- reboot --eject
- %post --nochroot --erroronfail
- echo 1 > /tmp/post-started
- mount_point=/mnt/sysroot
- sleep 5s
- rm -rf ${mount_point}/var/log/*
- rm -rf ${mount_point}/var/tmp/*
- rm -rf ${mount_point}/tmp/*
- sleep 5s
- #echo b > /proc/sysrq-trigger
- exit 0
- %end
Advertisement
Add Comment
Please, Sign In to add comment