diff --git a/old_packages.list b/old_packages.list new file mode 100644 index 0000000..acf2c8e --- /dev/null +++ b/old_packages.list @@ -0,0 +1,210 @@ +# une liste des paquets installés sur la version précédente de la VM +### +accountsservice 22.08.8-2 +adobe-source-han-sans-cn-fonts 2.004-1 +adobe-source-han-sans-jp-fonts 2.004-1 +adobe-source-han-sans-kr-fonts 2.004-1 +alsa-firmware 1.2.4-2 +alsa-plugins 1:1.2.7.1-1 +alsa-utils 1.2.8-1 +amd-ucode 20230117.7e4f0ed-1 +arc-gtk-theme-eos 20221218-1 +archlinux-keyring 20221220-1 +autoconf 2.71-1 +automake 1.16.5-1 +b43-fwcutter 019-4 +base 3-1 +bash-completion 2.11-3 +bat 0.22.1-1 +bind 9.18.10-1 +binutils 2.40-2 +bison 3.8.2-4 +bluez 5.66-1 +bluez-utils 5.66-1 +btop 1.2.13-1 +btrfs-progs 6.1.2-1 +cantarell-fonts 1:0.303.1-1 +cinnamon 5.6.7-1 +cinnamon-translations 5.6.1-1 +cppcheck 2.9.3-1 +cryptsetup 2.6.0-1 +device-mapper 2.03.18-4 +dhclient 4.4.3.P1-1 +dialog 1:1.3_20221229-1 +diffutils 3.8-1 +discord 0.0.24-1 +dmidecode 3.4-1 +dmraid 1.0.0.rc16.3-14 +dnsmasq 2.88-1 +dosfstools 4.2-3 +downgrade 11.2.1-1 +duf 0.8.1-2 +dune 3.6.2-1 +e2fsprogs 1.46.5-4 +efibootmgr 18-1 +efitools 1.9.2-5 +emacs 28.2-2 +endeavouros-keyring 20220614-1 +endeavouros-mirrorlist 4.11-1 +endeavouros-theming 22.12.1.1-1 +ethtool 1:6.1-1 +exfatprogs 1.2.0-1 +f2fs-tools 1.15.0-2 +fakeroot 1.30.1-1 +ffmpegthumbnailer 2.2.2-4 +file 5.44-1 +file-roller 43.0-1 +findutils 4.9.0-2 +firefox 109.0-1 +flex 2.6.4-4 +gawk 5.2.1-1 +gcc 12.2.1-1 +gettext 0.21.1-2 +git 2.39.1-1 +glances 3.3.0-1 +gnome-system-monitor 42.0-1 +gnome-terminal 3.46.7-1 +gnu-netcat 0.7.1-9 +grep 3.8-2 +groff 1.22.4-7 +grub 2:2.06.r440.g4de39a2af-1 +grub-tools 1.6.9-2 +grub2-theme-endeavouros 20220602-1 +gst-libav 1.20.5-5 +gst-plugin-pipewire 1:0.3.64-1 +gst-plugins-bad 1.20.5-5 +gst-plugins-ugly 1.20.5-5 +gvfs 1.50.3-1 +gzip 1.12-1 +haveged 1.9.18-1 +hdparm 9.65-1 +hwdetect 2023.01-1 +hwinfo 22.2-1 +inetutils 2.3-1 +inxi 3.3.24.1-4 +iptables-nft 1:1.8.8-3 +ipw2100-fw 1.3-10 +ipw2200-fw 3.1-8 +iwd 2.2-1 +jfsutils 1.1.15-8 +less 1:608-1 +libdvdcss 1.4.3-1 +libgsf 1.14.50-1 +libopenraw 0.3.3-1 +libtool 2.4.7+4+g1ec8fa28-1 +libwnck3 43.0-3 +lightdm 1:1.32.0-4 +lightdm-slick-greeter 1.6.0-1 +linux 6.1.8.arch1-1 +linux-firmware 20230117.7e4f0ed-1 +linux-headers 6.1.8.arch1-1 +localepurge 0.7.3.10-1 +logrotate 3.21.0-2 +lsb-release 2.0.r48.3cf5103-1 +lsscsi 0.32-1 +lvm2 2.03.18-4 +m4 1.4.19-2 +make 4.4-1 +man-db 2.11.2-1 +man-pages 6.02-1 +mdadm 4.2-2 +mesa-utils 8.5.0-2 +mkinitcpio 34-2 +mkinitcpio-busybox 1.35.0-1 +mkinitcpio-nfs-utils 0.3-7 +mkinitcpio-openswap 0.1.0-3 +mlocate 0.26.git.20170220-7 +modemmanager 1.20.4-1 +mtools 1:4.0.42-1 +nano 7.2-1 +nano-syntax-highlighting 2020.10.10-1 +nbd 3.24-1 +ndisc6 1.0.6-1 +nemo-fileroller 5.6.0-1 +nemo-image-converter 5.6.0-1 +neofetch 7.1.0-2 +netctl 1.28-2 +networkmanager 1.40.12-1 +networkmanager-openvpn 1.10.2-1 +nfs-utils 2.6.2-1 +nilfs-utils 2.2.9-2 +nmap 7.93-1 +nnn-nerd 4.7-1 +noto-fonts 20220810-1 +npm 8.19.2-1 +ntfs-3g 2022.10.3-1 +ntp 4.2.8.p15-3 +ocaml 4.14.0-1 +opam 2.1.4-1 +openconnect 1:9.01-2 +openvpn 2.5.8-2 +os-prober 1.81-1 +pacman 6.0.2-5 +pacman-contrib 1.8.2-1 +paru-bin 1.11.2-1 +patch 2.7.6-8 +pavucontrol 1:5.0+r61+gee77d86-2 +perl 5.36.0-3 +pipewire-alsa 1:0.3.64-1 +pipewire-jack 1:0.3.64-1 +pkgconf 1.8.0-1 +pkgfile 21-2 +poppler-glib 23.01.0-3 +ppp 2.4.9-3 +pptpclient 1.10.0-3 +pv 1.6.20-2 +python 3.10.9-1 +python-defusedxml 0.7.1-4 +python-packaging 21.3-1 +rebuild-detector 4.4.1-2 +reflector 2021.11-5 +reiserfsprogs 3.6.27-4 +rp-pppoe 3.15-2 +rsync 3.2.7-3 +rtkit 0.13-2 +s-nail 14.9.24-2 +sed 4.9-1 +sg3_utils 1.47-1 +smartmontools 7.3-1 +sof-firmware 2.2.4-1 +sudo 1.9.12.p2-1 +sysfsutils 2.1.1-1 +systemd-sysvcompat 252.4-2 +tealdeer 1.6.1-1 +texinfo 7.0.2-1 +ttf-bitstream-vera 1.10-15 +ttf-dejavu 2.37+18+g9b5d1b2f-3 +ttf-firacode-nerd 2.3.3-2 +ttf-liberation 2.1.5-1 +ttf-opensans 1.101-2 +unrar 1:6.2.5-1 +unzip 6.0-19 +upower 1.90.0-1 +usb_modeswitch 2.6.1-3 +usbutils 015-2 +vi 1:070224-6 +virtualbox-guest-utils 7.0.6-1 +visual-studio-code-bin 1.74.3-1 +vpnc 1:0.5.3.r506.r204-2 +wget 1.21.3-1 +which 2.21-5 +whois 5.5.15-1 +wireless-regdb 2022.08.12-1 +wireless_tools 30.pre9-3 +wireplumber 0.4.13-1 +wpa_supplicant 2:2.10-8 +xdg-user-dirs 0.18-1 +xdg-user-dirs-gtk 0.11-1 +xdg-utils 1.1.3+25+g8ae0263-1 +xed 3.2.8-1 +xf86-input-libinput 1.2.1-1 +xf86-video-vmware 13.4.0-1 +xfsprogs 6.1.1-2 +xl2tpd 1.3.18-1 +xorg-server 21.1.6-1 +xorg-xdpyinfo 1.3.3-4 +xorg-xinit 1.4.2-1 +xorg-xinput 1.6.3-3 +xorg-xkill 1.0.6-1 +xorg-xrandr 1.5.2-1 +zsh 5.9-2 diff --git a/profile/airootfs/root/content/pacman.conf b/profile/airootfs/root/content/pacman.conf new file mode 100644 index 0000000..c64c8ee --- /dev/null +++ b/profile/airootfs/root/content/pacman.conf @@ -0,0 +1,104 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +CacheDir = /media/hdd1/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -L -C - -f -o %o %u +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +IgnorePkg = alvr-git frameworkintegration5 +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +Color +#NoProgressBar +CheckSpace +VerbosePkgLists +ParallelDownloads = 5 +ILoveCandy + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Never +LocalFileSigLevel = Optional +#RemoteFileSigLevel = Required + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +#[community-testing] +#Include = /etc/pacman.d/mirrorlist + +[community] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repositories as required here. + +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +[multilib] +Include = /etc/pacman.d/mirrorlist + +# [arch4edu] +# Server = https://pkg.fef.moe/arch4edu/$arch + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs diff --git a/profile/airootfs/root/content/paru.conf b/profile/airootfs/root/content/paru.conf new file mode 100644 index 0000000..109a268 --- /dev/null +++ b/profile/airootfs/root/content/paru.conf @@ -0,0 +1,42 @@ +# +# $PARU_CONF +# /etc/paru.conf +# ~/.config/paru/paru.conf +# +# See the paru.conf(5) manpage for options + +# +# GENERAL OPTIONS +# +[options] +PgpFetch +Devel +Provides +DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil +#AurOnly +BottomUp +#RemoveMake +#SudoLoop +#UseAsk +#SaveChanges +#CombinedUpgrade +#CleanAfter +#UpgradeMenu +#NewsOnUpgrade + +#LocalRepo +#Chroot +#Sign +#SignDb +#KeepRepoCache + +# +# Binary OPTIONS +# +#[bin] +#FileManager = vifm +#MFlags = --skippgpcheck +#Sudo = doas + +#CloneDir = /tmp/paru +Limit = 10 diff --git a/profile/airootfs/root/content/sudoers b/profile/airootfs/root/content/sudoers new file mode 100644 index 0000000..0a0a77c --- /dev/null +++ b/profile/airootfs/root/content/sudoers @@ -0,0 +1,96 @@ +## sudoers file. +## +## This file MUST be edited with the 'visudo' command as root. +## Failure to use 'visudo' may result in syntax or file permission errors +## that prevent sudo from running. +## +## See the sudoers man page for the details on how to write a sudoers file. +## + +## +## Host alias specification +## +## Groups of machines. These may include host names (optionally with wildcards), +## IP addresses, network numbers or netgroups. +# Host_Alias WEBSERVERS = www1, www2, www3 + +## +## User alias specification +## +## Groups of users. These may consist of user names, uids, Unix groups, +## or netgroups. +# User_Alias ADMINS = millert, dowdy, mikef + +## +## Cmnd alias specification +## +## Groups of commands. Often used to group related commands together. +# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \ +# /usr/bin/pkill, /usr/bin/top +# Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff + +## +## Defaults specification +## +## You may wish to keep some of the following environment variables +## when running commands via sudo. +## +## Locale settings +# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET" +## +## Run X applications through sudo; HOME is used to find the +## .Xauthority file. Note that other programs use HOME to find +## configuration files and this may lead to privilege escalation! +# Defaults env_keep += "HOME" +## +## X11 resource path settings +# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH" +## +## Desktop path settings +# Defaults env_keep += "QTDIR KDEDIR" +## +## Allow sudo-run commands to inherit the callers' ConsoleKit session +# Defaults env_keep += "XDG_SESSION_COOKIE" +## +## Uncomment to enable special input methods. Care should be taken as +## this may allow users to subvert the command being run via sudo. +# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER" +## +## Uncomment to use a hard-coded PATH instead of the user's to find commands +# Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" +## +## Uncomment to send mail if the user does not enter the correct password. +# Defaults mail_badpass +## +## Uncomment to enable logging of a command's output, except for +## sudoreplay and reboot. Use sudoreplay to play back logged sessions. +# Defaults log_output +# Defaults!/usr/bin/sudoreplay !log_output +# Defaults!/usr/local/bin/sudoreplay !log_output +# Defaults!REBOOT !log_output + +## +## Runas alias specification +## + +## +## User privilege specification +## +root ALL=(ALL) ALL + +## Uncomment to allow members of group wheel to execute any command +# %wheel ALL=(ALL) ALL + +## Same thing without a password +%wheel ALL=(ALL) NOPASSWD: ALL + +## Uncomment to allow members of group sudo to execute any command +%sudo ALL=(ALL) NOPASSWD: ALL + +## Uncomment to allow any user to run sudo if they know the password +## of the user they are running the command as (root by default). +# Defaults targetpw # Ask for the password of the target user +# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw' + +## Read drop-in files from /etc/sudoers.d +# @includedir /etc/sudoers.d diff --git a/profile/airootfs/root/content/wired.network b/profile/airootfs/root/content/wired.network new file mode 100644 index 0000000..aec1849 --- /dev/null +++ b/profile/airootfs/root/content/wired.network @@ -0,0 +1,5 @@ +[Match] +Name=en* + +[Network] +DHCP=yes diff --git a/profile/airootfs/root/post_install.sh b/profile/airootfs/root/post_install.sh index 0d24aa8..98bd185 100644 --- a/profile/airootfs/root/post_install.sh +++ b/profile/airootfs/root/post_install.sh @@ -7,10 +7,16 @@ ROOT=/mnt/archinstall log "altering linux confs" - sed -i 's|# %wheel ALL=(ALL:ALL) NOPASSWD: ALL|%wheel ALL=(ALL:ALL) NOPASSWD: ALL|g' "$ROOT/etc/sudoers" - sed -i 's|@includedir /etc/sudoers.d|# @includedir /etc/sudoers.d|g' "$ROOT/etc/sudoers" - sed -i 's|#ParallelDownloads = 5|ParallelDownloads = 5|g' "$ROOT/etc/pacman.conf" - sed -i 's|SigLevel = Required DatabaseOptional|SigLevel = Never|g' "$ROOT/etc/pacman.conf" + cp content/sudoers "$ROOT/etc/sudoers" + cp content/pacman.conf "$ROOT/etc/pacman.conf" + + +log "configuring network" + mkdir -p "$ROOT/etc/systemd/network" + cp content/wired.network "$ROOT/etc/systemd/network/20-wired.network" + echo " + sudo systemctl enable systemd-networkd.service + " | arch-chroot "$ROOT" su user log "installing paru" @@ -20,3 +26,10 @@ log "installing paru" cd paru-bin makepkg -si " | arch-chroot "$ROOT" su user + cp content/paru.conf "$ROOT/etc/paru.conf" + + +log "installing extra packages" + echo " + paru -S --no-confirm tealdeer + " | arch-chroot "$ROOT" su user diff --git a/profile/airootfs/root/user_configuration.json b/profile/airootfs/root/user_configuration.json index 78ca4ea..817644d 100644 --- a/profile/airootfs/root/user_configuration.json +++ b/profile/airootfs/root/user_configuration.json @@ -1,10 +1,12 @@ { - "additional-repositories": [], + "additional-repositories": [ + "multilib" + ], "archinstall-language": "English", "audio_config": { - "audio": "pulseaudio" + "audio": "pipewire" }, - "bootloader": "Limine", + "bootloader": "Systemd-boot", "config_version": "2.7.1", "debug": false, "disk_config": { @@ -126,20 +128,19 @@ "offline": false, "packages": [ "git", - "virtualbox-guest-utils" + "virtualbox-guest-utils", + "lightdm-slick-greeter", + "cinnamon", + "gnome-terminal" ], "parallel downloads": 0, "profile_config": { - "gfx_driver": "All open-source", - "greeter": "lightdm-gtk-greeter", + "gfx_driver": null, + "greeter": null, "profile": { - "custom_settings": { - "Xfce4": {} - }, - "details": [ - "Xfce4" - ], - "main": "Desktop" + "custom_settings": {}, + "details": [], + "main": "Minimal" } }, "script": "guided",