diff --git a/mkosi.conf b/mkosi.conf index d2fb95a..f45e602 100644 --- a/mkosi.conf +++ b/mkosi.conf @@ -50,7 +50,7 @@ WithNetwork=true # Make sure kernel-install knows where we expect the ESP to be mounted so it can create correct loader entries. @Environment=BOOT_MNT=/efi-template # TODO: revisit pulseaudio qt it should be pulled in implicitly but isn't right now -@Environment=KDE_BUILDER_TARGET="pulseaudio-qt workspace dolphin dolphin-plugins ffmpegthumbs kdegraphics-thumbnailers kimageformats kio-admin kio-fuse kio-gdrive konsole kpmcore kate spectacle xwaylandvideobridge partitionmanager kde-inotify-survey kdeconnect-kde krdp kwalletmanager" +@Environment=KDE_BUILDER_TARGET="pulseaudio-qt workspace dolphin dolphin-plugins ffmpegthumbs kdegraphics-thumbnailers kimageformats kio-admin kio-fuse kio-gdrive konsole kpmcore kate spectacle xwaylandvideobridge partitionmanager kde-inotify-survey kdeconnect-kde krdp kwalletmanager kdenetwork-filesharing" [Host] QemuGui=yes diff --git a/mkosi.postinst.chroot b/mkosi.postinst.chroot index 3323276..9c21954 100755 --- a/mkosi.postinst.chroot +++ b/mkosi.postinst.chroot @@ -46,6 +46,8 @@ pacman --sync --noconfirm smbclient pacman --sync --noconfirm python-atspi # For print-manager pacman --sync --noconfirm cups cups-browsed system-config-printer +# For kdenetwork-filesharing +pacman --sync --noconfirm samba # For spectacle pacman --sync --noconfirm opencv # For fingerprint login @@ -224,6 +226,19 @@ flatpak remote-modify --collection-id=org.flathub.Stable flathub flatpak install --noninteractive --assumeyes org.mozilla.firefox mv /var/lib/flatpak / # we'll extract this and later mount it into place +# Samba usershare setup +mkdir -p /var/lib/samba/sambashares +chgrp sambashares /var/lib/samba/sambashares +mkdir -p /etc/samba + +cat <<- EOF >> /etc/samba/smb.conf +[global] + usershare path = /var/lib/samba/sambashares + usershare max shares = 100 + usershare allow guests = yes # optional, negotiable + usershare owner only = yes +EOF + plymouth-set-default-theme breeze-bgrt cd /tmp