From 342f1dcf115f998cbb5d27c5593e215b01e5b7a4 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Wed, 29 Oct 2025 14:20:21 -0400 Subject: Finish adding files from new moyo, misc updates --- hosts/moyo/fstab | 26 +++- hosts/moyo/gentoo/package.use/ffmpeg | 2 +- hosts/moyo/grub_config | 11 +- hosts/moyo/libvirt/qemu/denpa.xml | 191 ------------------------------ hosts/moyo/libvirt/qemu/station.xml | 185 +++++++++++++++++++++++++++++ hosts/moyo/scripts/do-grub-install | 2 - hosts/moyo/scripts/emerge-update | 2 - hosts/moyo/scripts/export-nfs | 2 +- hosts/moyo/scripts/gen-dracut | 2 - hosts/moyo/scripts/id-dm-device | 2 - hosts/moyo/scripts/mount-luks | 11 -- hosts/moyo/scripts/prepare-network-mounts | 5 + hosts/moyo/scripts/raid-status | 2 - hosts/moyo/sshd_config | 7 -- hosts/moyo/sshd_config.d/9999999moyo.conf | 4 + hosts/moyo/sysctl.d/cachyos.conf | 3 - hosts/moyo/sysctl.d/coredump.conf | 1 - hosts/moyo/sysctl.d/forwarding.conf | 1 - hosts/moyo/sysctl.d/iotop.conf | 1 - hosts/moyo/sysctl.d/libvirt.conf | 1 - hosts/moyo/sysctl.d/perfmon.conf | 1 - hosts/moyo/sysctl.d/tcp.conf | 3 - 22 files changed, 222 insertions(+), 243 deletions(-) delete mode 100644 hosts/moyo/libvirt/qemu/denpa.xml create mode 100644 hosts/moyo/libvirt/qemu/station.xml delete mode 100755 hosts/moyo/scripts/do-grub-install delete mode 100755 hosts/moyo/scripts/emerge-update delete mode 100755 hosts/moyo/scripts/gen-dracut delete mode 100755 hosts/moyo/scripts/id-dm-device delete mode 100755 hosts/moyo/scripts/mount-luks create mode 100755 hosts/moyo/scripts/prepare-network-mounts delete mode 100755 hosts/moyo/scripts/raid-status delete mode 100644 hosts/moyo/sshd_config create mode 100644 hosts/moyo/sshd_config.d/9999999moyo.conf delete mode 100644 hosts/moyo/sysctl.d/cachyos.conf delete mode 100644 hosts/moyo/sysctl.d/coredump.conf delete mode 100644 hosts/moyo/sysctl.d/forwarding.conf delete mode 100644 hosts/moyo/sysctl.d/iotop.conf delete mode 100644 hosts/moyo/sysctl.d/libvirt.conf delete mode 100644 hosts/moyo/sysctl.d/perfmon.conf delete mode 100644 hosts/moyo/sysctl.d/tcp.conf (limited to 'hosts/moyo') diff --git a/hosts/moyo/fstab b/hosts/moyo/fstab index 29b6c66..67c5688 100644 --- a/hosts/moyo/fstab +++ b/hosts/moyo/fstab @@ -1,7 +1,23 @@ -/dev/moyo-vg0/root / ext4 noatime 0 1 -UUID="879D-5154" /boot vfat defaults,noatime 0 2 -/dev/moyo-vg0/swap none swap sw 0 0 +# /etc/fstab: static file system information. +# +# See the manpage fstab(5) for more information. +# +# NOTE: The root filesystem should have a pass number of either 0 or 1. +# All other filesystems should have a pass number of 0 or greater than 1. +# +# NOTE: Even though we list ext4 as the type here, it will work with ext2/ext3 +# filesystems. This just tells the kernel to use the ext4 driver. +# +# NOTE: You can use full paths to devices like /dev/sda3, but it is often +# more reliable to use filesystem labels or UUIDs. See your filesystem +# documentation for details on setting a label. To obtain the UUID, use +# the blkid(8) command. -tmpfs /var/tmp/portage tmpfs size=6G,uid=portage,gid=portage,mode=775 0 0 +# -#hugetlbfs /hugepages hugetlbfs mode=1770,gid=100 0 0 +UUID="1D54-467B" /efi vfat umask=0077,tz=UTC 0 2 +/dev/moyo-vg0/swap none swap sw 0 0 +/dev/moyo-vg0/root / ext4 defaults,noatime 0 1 +/dev/mapper/store /mnt/store ext4 defaults,noatime 0 2 + +tmpfs /var/tmp/portage tmpfs size=4G,uid=portage,gid=portage,mode=775 0 0 diff --git a/hosts/moyo/gentoo/package.use/ffmpeg b/hosts/moyo/gentoo/package.use/ffmpeg index 3434c7a..689f92f 100644 --- a/hosts/moyo/gentoo/package.use/ffmpeg +++ b/hosts/moyo/gentoo/package.use/ffmpeg @@ -1 +1 @@ -media-video/ffmpeg -libass +media-video/ffmpeg webp -libass diff --git a/hosts/moyo/grub_config b/hosts/moyo/grub_config index b095501..c5bd2fb 100644 --- a/hosts/moyo/grub_config +++ b/hosts/moyo/grub_config @@ -14,7 +14,7 @@ GRUB_DISTRIBUTOR="Gentoo" #GRUB_DEFAULT=0 # Boot the default entry this many seconds after the menu is displayed -#GRUB_TIMEOUT=5 +GRUB_TIMEOUT=3 #GRUB_TIMEOUT_STYLE=menu # Append parameters to the linux kernel command line @@ -29,15 +29,14 @@ GRUB_CMDLINE_LINUX="quiet text rd.lvm.vg=moyo-vg0" # GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd" # Append parameters to the linux kernel command line for non-recovery entries -# default_hugepagesz=2M hugepagesz=2M hugepages=4096 -GRUB_CMDLINE_LINUX_DEFAULT="mitigations=off amd_iommu=on iommu=pt" +GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on iommu=pt amdgpu.ppfeaturemask=0xffffffff mitigations=off" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console -# The resolution used on graphical terminal. -# Note that you can use only modes which your graphic card supports via VBE. -# You can see them in real GRUB with the command `vbeinfo'. +# Resolution used on graphical terminal. +# The list of valid modes may be obtained using the 'vbeinfo' (PC BIOS) or +# 'videoinfo' (EFI) command from a GRUB boot prompt. #GRUB_GFXMODE=640x480 # Set to 'text' to force the Linux kernel to boot in normal text diff --git a/hosts/moyo/libvirt/qemu/denpa.xml b/hosts/moyo/libvirt/qemu/denpa.xml deleted file mode 100644 index 14e4972..0000000 --- a/hosts/moyo/libvirt/qemu/denpa.xml +++ /dev/null @@ -1,191 +0,0 @@ - - - - denpa - 3c983499-1569-48f4-994f-d665f40097ac - - - - - - 4194304 - 4194304 - - - - - 2 - - hvm - - - - - /usr/share/edk2-ovmf/OVMF_CODE.fd - /var/lib/libvirt/qemu/nvram/denpa_VARS.fd - - - - - - - - - - - - - - - - - - - destroy - restart - destroy - - - - - - /usr/bin/qemu-system-x86_64 - - - - - -
- - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - -
- - -
- - -
- - - - - - -
- - - - - -
- - - - - -
- - - - - - - - - - - -
- - - -