summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/audio/asoundrc24
-rw-r--r--files/email/muttrc4
-rw-r--r--files/vim/autoload/Juliana.vim2
-rw-r--r--files/vim/vimrc10
-rw-r--r--hosts/iroha/fstab2
-rw-r--r--hosts/iroha/kernel_config12
-rw-r--r--hosts/iroha/stow.txt6
l---------hosts/iroha/stow/.config/mako/config1
l---------hosts/iroha/stow/.mailcap1
-rw-r--r--hosts/iroha/sysctl.d/cachyos.conf5
-rw-r--r--hosts/iroha/sysctl.d/coredump.conf2
-rw-r--r--hosts/iroha/sysctl.d/waydroid.conf1
-rw-r--r--hosts/moyo/fstab26
-rw-r--r--hosts/moyo/gentoo/package.use/ffmpeg2
-rw-r--r--hosts/moyo/grub_config11
-rw-r--r--hosts/moyo/libvirt/qemu/station.xml (renamed from hosts/moyo/libvirt/qemu/denpa.xml)58
-rwxr-xr-xhosts/moyo/scripts/do-grub-install2
-rwxr-xr-xhosts/moyo/scripts/emerge-update2
-rwxr-xr-xhosts/moyo/scripts/export-nfs2
-rwxr-xr-xhosts/moyo/scripts/gen-dracut2
-rwxr-xr-xhosts/moyo/scripts/id-dm-device2
-rwxr-xr-xhosts/moyo/scripts/mount-luks11
-rwxr-xr-xhosts/moyo/scripts/prepare-network-mounts5
-rwxr-xr-xhosts/moyo/scripts/raid-status2
-rw-r--r--hosts/moyo/sshd_config7
-rw-r--r--hosts/moyo/sshd_config.d/9999999moyo.conf4
-rw-r--r--hosts/moyo/sysctl.d/cachyos.conf3
-rw-r--r--hosts/moyo/sysctl.d/coredump.conf1
-rw-r--r--hosts/moyo/sysctl.d/forwarding.conf1
-rw-r--r--hosts/moyo/sysctl.d/iotop.conf1
-rw-r--r--hosts/moyo/sysctl.d/libvirt.conf1
-rw-r--r--hosts/moyo/sysctl.d/perfmon.conf1
-rw-r--r--hosts/moyo/sysctl.d/tcp.conf3
-rw-r--r--nix_archive/flake.lock24
-rw-r--r--nix_archive/hosts/palm/programs.nix1
-rw-r--r--nix_archive/nix/programs/firefox.nix4
-rw-r--r--nix_archive/nix/user.nix14
-rwxr-xr-xscripts/desktop/proton-env3
-rwxr-xr-xscripts/desktop/proton-env323
-rw-r--r--themes/iroha/mako4
40 files changed, 136 insertions, 134 deletions
diff --git a/files/audio/asoundrc b/files/audio/asoundrc
index 051a420..8f93680 100644
--- a/files/audio/asoundrc
+++ b/files/audio/asoundrc
@@ -1,12 +1,12 @@
-#pcm.!spdif {
-# type hw
-# card 1
-# device 1
-#}
-#
-#pcm.!default {
-# type plug
-# slave {
-# pcm "spdif"
-# }
-#}
+pcm.!spdif {
+ type hw
+ card 1
+ device 1
+}
+
+pcm.!default {
+ type plug
+ slave {
+ pcm "spdif"
+ }
+}
diff --git a/files/email/muttrc b/files/email/muttrc
index 2f2efea..02bbe61 100644
--- a/files/email/muttrc
+++ b/files/email/muttrc
@@ -83,10 +83,8 @@ bind editor <Tab> complete-query
bind browser l select-entry
bind browser gg top-page
bind browser G bottom-page
-#bind index,pager H "view-raw-message"
-# https://superuser.com/a/695154
-macro index,pager \cB ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; unset pipe_decode\n" "call w3m to extract URLs out of a message"
+macro pager n "<enter-command>unset pipe_decode<enter><pipe-message>extract_url<enter>" "extract URLs from a message"
color normal white black
color attachment brightyellow black
diff --git a/files/vim/autoload/Juliana.vim b/files/vim/autoload/Juliana.vim
index 4dd86db..9af02d7 100644
--- a/files/vim/autoload/Juliana.vim
+++ b/files/vim/autoload/Juliana.vim
@@ -6,6 +6,8 @@ function! Juliana#Init()
autocmd ModeChanged [V\x16]*:i let g:Juliana#has_selection = 1
autocmd InsertLeave * let g:Juliana#has_selection = 0
augroup END
+ " This won't trigger autocomplete until 2 characters are typed.
+ autocmd ModeChanged *:i set noac | augroup JulianaSkipAutocomplete | autocmd TextChangedI * set ac | autocmd! JulianaSkipAutocomplete | augroup END
endfunction
function! Juliana#CompleteTab(type)
diff --git a/files/vim/vimrc b/files/vim/vimrc
index 41e30fb..c40eeec 100644
--- a/files/vim/vimrc
+++ b/files/vim/vimrc
@@ -1,5 +1,3 @@
-" @TODO: Map 'd' to delete no yank
-
" Basic settings.
set nocompatible
set number
@@ -130,8 +128,9 @@ if isdirectory(expand("~/c"))
endif
set autocomplete
-set complete=.^5,w^5,b^5,u^5
-set completeopt=popup
+"set complete=.^6,w^6,b^6,u^6,i^6,d^6
+set complete=.^6,w^6,b^6,u^6
+set completeopt+=menu,popup
" Plugins.
let g:fugitive_no_maps = 1
@@ -182,6 +181,8 @@ nnoremap <S-l> <nop>
nmap <Tab> <nop>
" ctrl + c no-op.
nnoremap <C-c> <nop>
+" shift + x delete no yank.
+vnoremap X "_x
" Disable F1 for help.
nmap <F1> <nop>
" Disable q: for histroy.
@@ -266,6 +267,7 @@ nnoremap <silent> <expr> <Tab> Juliana#CompleteNTab("FOLD")
command Tabify set noexpandtab | %retab! | set expandtab
command Untabify set expandtab | %retab!
+" @TODO: noeol, nofixeol, binary
command Hex :%!xxd
command Unhex :%!xxd -r
diff --git a/hosts/iroha/fstab b/hosts/iroha/fstab
index 5a196b3..74d6125 100644
--- a/hosts/iroha/fstab
+++ b/hosts/iroha/fstab
@@ -23,4 +23,4 @@ UUID="2FCB-DCF5" /efi vfat umask=0077,tz=UTC 0 2
UUID="88a11ddb-a1ef-4953-bc27-39e358e4c1c4" /mnt/ssd ext4 defaults,noatime 0 2
UUID="e339ba64-d4ee-44e1-856a-80812fd72960" /mnt/hdd ext4 defaults,noatime 0 2
-tmpfs /var/tmp/portage tmpfs size=16G,uid=portage,gid=portage,mode=775 0 0
+tmpfs /var/tmp/portage tmpfs size=24G,uid=portage,gid=portage,mode=775 0 0
diff --git a/hosts/iroha/kernel_config b/hosts/iroha/kernel_config
index 7aed50f..b638b62 100644
--- a/hosts/iroha/kernel_config
+++ b/hosts/iroha/kernel_config
@@ -418,7 +418,7 @@ CONFIG_BOOT_VESA_SUPPORT=y
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=512
CONFIG_NR_CPUS_DEFAULT=64
-CONFIG_NR_CPUS=320
+CONFIG_NR_CPUS=64
CONFIG_SCHED_CLUSTER=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
@@ -442,8 +442,7 @@ CONFIG_PERF_EVENTS_AMD_UNCORE=y
# CONFIG_PERF_EVENTS_AMD_BRS is not set
# end of Performance monitoring
-CONFIG_X86_16BIT=y
-CONFIG_X86_ESPFIX64=y
+# CONFIG_X86_16BIT is not set
CONFIG_X86_VSYSCALL_EMULATION=y
CONFIG_X86_IOPL_IOPERM=y
CONFIG_MICROCODE=y
@@ -1152,7 +1151,9 @@ CONFIG_NET_UDP_TUNNEL=m
CONFIG_NET_FOU=m
# CONFIG_NET_FOU_IP_TUNNELS is not set
# CONFIG_INET_AH is not set
-# CONFIG_INET_ESP is not set
+CONFIG_INET_ESP=m
+# CONFIG_INET_ESP_OFFLOAD is not set
+# CONFIG_INET_ESPINTCP is not set
# CONFIG_INET_IPCOMP is not set
CONFIG_INET_TABLE_PERTURB_ORDER=16
CONFIG_INET_TUNNEL=m
@@ -1255,13 +1256,14 @@ CONFIG_NF_CONNTRACK_NETBIOS_NS=m
# CONFIG_NF_CONNTRACK_PPTP is not set
# CONFIG_NF_CONNTRACK_SANE is not set
CONFIG_NF_CONNTRACK_SIP=m
-# CONFIG_NF_CONNTRACK_TFTP is not set
+CONFIG_NF_CONNTRACK_TFTP=m
CONFIG_NF_CT_NETLINK=m
# CONFIG_NETFILTER_NETLINK_GLUE_CT is not set
CONFIG_NF_NAT=m
CONFIG_NF_NAT_FTP=m
CONFIG_NF_NAT_IRC=m
CONFIG_NF_NAT_SIP=m
+CONFIG_NF_NAT_TFTP=m
CONFIG_NF_NAT_REDIRECT=y
CONFIG_NF_NAT_MASQUERADE=y
CONFIG_NF_TABLES=m
diff --git a/hosts/iroha/stow.txt b/hosts/iroha/stow.txt
index eea1a01..de02c57 100644
--- a/hosts/iroha/stow.txt
+++ b/hosts/iroha/stow.txt
@@ -7,6 +7,7 @@ UNLINK: .config/gentoo-pipewire-launcher.conf
UNLINK: .config/gtk-3.0
UNLINK: .config/gtk-4.0
UNLINK: .config/kitty
+UNLINK: .config/mako
UNLINK: .config/pipewire
UNLINK: .config/sway
UNLINK: .config/user-dirs.dirs
@@ -37,6 +38,7 @@ UNLINK: .local/bin/use-flags
UNLINK: .local/bin/wlsunset-toggle
UNLINK: .local/bin/xbox-controller-battery
UNLINK: .local/bin/xbox360-ffmpeg-enc
+UNLINK: .muttrc
UNLINK: .profile
UNLINK: .vim/autoload
UNLINK: .vim/colors
@@ -57,6 +59,7 @@ LINK: .config/gentoo-pipewire-launcher.conf => ../c/dotfiles/hosts/iroha/stow/.c
LINK: .config/gtk-3.0 => ../c/dotfiles/hosts/iroha/stow/.config/gtk-3.0 (reverts previous action)
LINK: .config/gtk-4.0 => ../c/dotfiles/hosts/iroha/stow/.config/gtk-4.0 (reverts previous action)
LINK: .config/kitty => ../c/dotfiles/hosts/iroha/stow/.config/kitty (reverts previous action)
+LINK: .config/mako => ../c/dotfiles/hosts/iroha/stow/.config/mako (reverts previous action)
LINK: .config/pipewire => ../c/dotfiles/hosts/iroha/stow/.config/pipewire (reverts previous action)
LINK: .config/sway => ../c/dotfiles/hosts/iroha/stow/.config/sway (reverts previous action)
LINK: .config/user-dirs.dirs => ../c/dotfiles/hosts/iroha/stow/.config/user-dirs.dirs (reverts previous action)
@@ -87,7 +90,8 @@ LINK: .local/bin/use-flags => ../../c/dotfiles/hosts/iroha/stow/.local/bin/use-f
LINK: .local/bin/wlsunset-toggle => ../../c/dotfiles/hosts/iroha/stow/.local/bin/wlsunset-toggle (reverts previous action)
LINK: .local/bin/xbox-controller-battery => ../../c/dotfiles/hosts/iroha/stow/.local/bin/xbox-controller-battery (reverts previous action)
LINK: .local/bin/xbox360-ffmpeg-enc => ../../c/dotfiles/hosts/iroha/stow/.local/bin/xbox360-ffmpeg-enc (reverts previous action)
-LINK: .muttrc => c/dotfiles/hosts/iroha/stow/.muttrc
+LINK: .mailcap => c/dotfiles/hosts/iroha/stow/.mailcap
+LINK: .muttrc => c/dotfiles/hosts/iroha/stow/.muttrc (reverts previous action)
LINK: .profile => c/dotfiles/hosts/iroha/stow/.profile (reverts previous action)
LINK: .vim/autoload => ../c/dotfiles/hosts/iroha/stow/.vim/autoload (reverts previous action)
LINK: .vim/colors => ../c/dotfiles/hosts/iroha/stow/.vim/colors (reverts previous action)
diff --git a/hosts/iroha/stow/.config/mako/config b/hosts/iroha/stow/.config/mako/config
new file mode 120000
index 0000000..53bee30
--- /dev/null
+++ b/hosts/iroha/stow/.config/mako/config
@@ -0,0 +1 @@
+../../../../../themes/iroha/mako \ No newline at end of file
diff --git a/hosts/iroha/stow/.mailcap b/hosts/iroha/stow/.mailcap
new file mode 120000
index 0000000..6cf51a2
--- /dev/null
+++ b/hosts/iroha/stow/.mailcap
@@ -0,0 +1 @@
+../../../files/mailcap \ No newline at end of file
diff --git a/hosts/iroha/sysctl.d/cachyos.conf b/hosts/iroha/sysctl.d/cachyos.conf
index 26059e3..eeec6e9 100644
--- a/hosts/iroha/sysctl.d/cachyos.conf
+++ b/hosts/iroha/sysctl.d/cachyos.conf
@@ -1,5 +1,5 @@
# https://github.com/CachyOS/CachyOS-Settings/blob/master/usr/lib/sysctl.d/99-cachyos-settings.conf
-vm.swappiness = 100 # https://github.com/CachyOS/CachyOS-Settings/pull/19
+vm.swappiness = 40
vm.vfs_cache_pressure = 50
vm.dirty_bytes = 268435456
vm.page-cluster = 1
@@ -9,3 +9,6 @@ kernel.nmi_watchdog = 0
net.core.netdev_max_backlog = 4096
net.ipv4.tcp_congestion_control = bbr
net.core.default_qdisc = fq
+
+# https://wiki.gentoo.org/wiki/User:AbhinavPraveen/Optimizing_Wine_and_Proton_on_Gentoo
+kernel.sched_rt_runtime_us = 980000
diff --git a/hosts/iroha/sysctl.d/coredump.conf b/hosts/iroha/sysctl.d/coredump.conf
index 1de438b..cbe3d0c 100644
--- a/hosts/iroha/sysctl.d/coredump.conf
+++ b/hosts/iroha/sysctl.d/coredump.conf
@@ -1 +1 @@
-kernel.core_pattern=/dev/null
+kernel.core_pattern = /dev/null
diff --git a/hosts/iroha/sysctl.d/waydroid.conf b/hosts/iroha/sysctl.d/waydroid.conf
new file mode 100644
index 0000000..a90b252
--- /dev/null
+++ b/hosts/iroha/sysctl.d/waydroid.conf
@@ -0,0 +1 @@
+kernel.pid_max = 65535
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
+# <fs> <mountpoint> <type> <opts> <dump> <pass>
-#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/station.xml
index 14e4972..3b8219c 100644
--- a/hosts/moyo/libvirt/qemu/denpa.xml
+++ b/hosts/moyo/libvirt/qemu/station.xml
@@ -1,13 +1,13 @@
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
- virsh edit denpa
+ virsh edit station
or other application using the libvirt API.
-->
<domain type='kvm'>
- <name>denpa</name>
- <uuid>3c983499-1569-48f4-994f-d665f40097ac</uuid>
+ <name>station</name>
+ <uuid></uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://rockylinux.org/rocky/9"/>
@@ -21,13 +21,13 @@ or other application using the libvirt API.
</memoryBacking>
<vcpu placement='static'>2</vcpu>
<os firmware='efi'>
- <type arch='x86_64' machine='pc-q35-9.1'>hvm</type>
+ <type arch='x86_64' machine='pc-q35-10.0'>hvm</type>
<firmware>
<feature enabled='no' name='enrolled-keys'/>
<feature enabled='no' name='secure-boot'/>
</firmware>
- <loader readonly='yes' type='pflash'>/usr/share/edk2-ovmf/OVMF_CODE.fd</loader>
- <nvram template='/usr/share/edk2-ovmf/OVMF_VARS.fd'>/var/lib/libvirt/qemu/nvram/denpa_VARS.fd</nvram>
+ <loader readonly='yes' type='pflash' format='raw'>/usr/share/edk2/OvmfX64/OVMF_CODE.fd</loader>
+ <nvram template='/usr/share/edk2/OvmfX64/OVMF_VARS.fd' templateFormat='raw' format='raw'>/var/lib/libvirt/qemu/nvram/station_VARS.fd</nvram>
</os>
<features>
<acpi/>
@@ -56,15 +56,19 @@ or other application using the libvirt API.
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='disk'>
- <driver name='qemu' type='qcow2' cache='writeback' io='io_uring' discard='unmap'/>
- <source file='/var/lib/libvirt/images/denpa.qcow2'/>
+ <driver name='qemu' type='qcow2' io='io_uring'/>
+ <source file='/mnt/store/station/station.qcow2'/>
<target dev='vda' bus='virtio'/>
<boot order='1'/>
<address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
</disk>
- <controller type='usb' index='0' model='qemu-xhci' ports='15'>
- <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
- </controller>
+ <disk type='file' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source file='/home/andrew/isos/debian-trixie-DI-rc2-amd64-netinst.iso'/>
+ <target dev='hdc' bus='sata'/>
+ <readonly/>
+ <address type='drive' controller='0' bus='0' target='0' unit='2'/>
+ </disk>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
@@ -145,21 +149,11 @@ or other application using the libvirt API.
<controller type='scsi' index='0' model='virtio-scsi'>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</controller>
- <filesystem type='mount' accessmode='passthrough'>
- <driver type='virtiofs'/>
- <binary path='/usr/libexec/virtiofsd'/>
- <source dir='/mnt/store0/mail'/>
- <target dir='mail'/>
- <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
- </filesystem>
- <filesystem type='mount' accessmode='passthrough'>
- <driver type='virtiofs'/>
- <source dir='/mnt/store0/git'/>
- <target dir='git'/>
- <address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>
- </filesystem>
+ <controller type='usb' index='0' model='qemu-xhci'>
+ <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
+ </controller>
<interface type='bridge'>
- <mac address='52:54:00:b3:83:8a'/>
+ <mac address=''/>
<source bridge='virbr0'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
@@ -172,17 +166,17 @@ or other application using the libvirt API.
<console type='pty'>
<target type='serial' port='0'/>
</console>
- <channel type='unix'>
- <target type='virtio' name='org.qemu.guest_agent.0'/>
- <address type='virtio-serial' controller='0' bus='0' port='1'/>
- </channel>
+ <console type='pty'>
+ <target type='virtio' port='1'/>
+ </console>
+ <console type='pty'>
+ <target type='virtio' port='2'/>
+ </console>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<watchdog model='itco' action='reset'/>
- <memballoon model='virtio'>
- <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
- </memballoon>
+ <memballoon model='none'/>
<rng model='virtio'>
<backend model='random'>/dev/urandom</backend>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
diff --git a/hosts/moyo/scripts/do-grub-install b/hosts/moyo/scripts/do-grub-install
deleted file mode 100755
index 8dda1cb..0000000
--- a/hosts/moyo/scripts/do-grub-install
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env sh
-sudo grub-install --target=x86_64-efi --efi-directory=/boot
diff --git a/hosts/moyo/scripts/emerge-update b/hosts/moyo/scripts/emerge-update
deleted file mode 100755
index 2f8d3fe..0000000
--- a/hosts/moyo/scripts/emerge-update
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env sh
-sudo emerge --ask --verbose --update --deep --newuse @world
diff --git a/hosts/moyo/scripts/export-nfs b/hosts/moyo/scripts/export-nfs
index 3643fa3..c09433a 100755
--- a/hosts/moyo/scripts/export-nfs
+++ b/hosts/moyo/scripts/export-nfs
@@ -1,2 +1,2 @@
#! /usr/bin/env sh
-sudo exportfs -o rw,async,insecure,no_subtree_check,crossmnt -i 192.168.0.0/16:$1
+exportfs -o rw,async,insecure,no_subtree_check,crossmnt -i 192.168.0.0/16:$1
diff --git a/hosts/moyo/scripts/gen-dracut b/hosts/moyo/scripts/gen-dracut
deleted file mode 100755
index 92eb88a..0000000
--- a/hosts/moyo/scripts/gen-dracut
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env sh
-dracut -a lvm --kver=6.12.31-gentoo --force
diff --git a/hosts/moyo/scripts/id-dm-device b/hosts/moyo/scripts/id-dm-device
deleted file mode 100755
index b7d5781..0000000
--- a/hosts/moyo/scripts/id-dm-device
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env sh
-sudo sudo dmsetup info /dev/$1
diff --git a/hosts/moyo/scripts/mount-luks b/hosts/moyo/scripts/mount-luks
deleted file mode 100755
index 5be1aaa..0000000
--- a/hosts/moyo/scripts/mount-luks
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /usr/bin/env sh
-
-sudo cryptsetup luksOpen /dev/mapper/moyo--vg1-moyo--store0--raid1 moyo-store0
-sudo mount /dev/mapper/moyo-store0 /mnt/store0
-
-sudo mount --bind /mnt/store0/nfs/c /srv/nfs/c
-sudo mount --bind /mnt/store0/nfs/pics /srv/nfs/pics
-sudo mount --bind /mnt/store0/nfs/samba /srv/nfs/samba
-$HOME/scripts/export-nfs /srv/nfs/c
-$HOME/scripts/export-nfs /srv/nfs/pics
-$HOME/scripts/export-nfs /srv/nfs/samba
diff --git a/hosts/moyo/scripts/prepare-network-mounts b/hosts/moyo/scripts/prepare-network-mounts
new file mode 100755
index 0000000..68afa14
--- /dev/null
+++ b/hosts/moyo/scripts/prepare-network-mounts
@@ -0,0 +1,5 @@
+#! /usr/bin/env sh
+su -c 'mount --bind /mnt/store/nfs /srv/nfs && \
+ /home/andrew/scripts/export-nfs /srv/nfs/c && \
+ /home/andrew/scripts/export-nfs /srv/nfs/pics && \
+ /home/andrew/scripts/export-nfs /srv/nfs/samba'
diff --git a/hosts/moyo/scripts/raid-status b/hosts/moyo/scripts/raid-status
deleted file mode 100755
index 8e1e86a..0000000
--- a/hosts/moyo/scripts/raid-status
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /usr/bin/env sh
-sudo lvs -a -o name,copy_percent,health_status,devices moyo-vg1
diff --git a/hosts/moyo/sshd_config b/hosts/moyo/sshd_config
deleted file mode 100644
index 91fe201..0000000
--- a/hosts/moyo/sshd_config
+++ /dev/null
@@ -1,7 +0,0 @@
-PermitRootLogin no
-PubkeyAuthentication yes
-PasswordAuthentication no
-PermitEmptyPasswords no
-KbdInteractiveAuthentication no
-Subsystem sftp /usr/lib64/misc/sftp-server
-Include "/etc/ssh/sshd_config.d/*.conf"
diff --git a/hosts/moyo/sshd_config.d/9999999moyo.conf b/hosts/moyo/sshd_config.d/9999999moyo.conf
new file mode 100644
index 0000000..7c25be7
--- /dev/null
+++ b/hosts/moyo/sshd_config.d/9999999moyo.conf
@@ -0,0 +1,4 @@
+PermitRootLogin no
+PermitEmptyPasswords no
+KbdInteractiveAuthentication no
+PubkeyAuthentication yes
diff --git a/hosts/moyo/sysctl.d/cachyos.conf b/hosts/moyo/sysctl.d/cachyos.conf
deleted file mode 100644
index 595258f..0000000
--- a/hosts/moyo/sysctl.d/cachyos.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-# Full list in iroha/sysctl.d
-vm.swappiness = 100
-net.core.netdev_max_backlog = 4096
diff --git a/hosts/moyo/sysctl.d/coredump.conf b/hosts/moyo/sysctl.d/coredump.conf
deleted file mode 100644
index 1de438b..0000000
--- a/hosts/moyo/sysctl.d/coredump.conf
+++ /dev/null
@@ -1 +0,0 @@
-kernel.core_pattern=/dev/null
diff --git a/hosts/moyo/sysctl.d/forwarding.conf b/hosts/moyo/sysctl.d/forwarding.conf
deleted file mode 100644
index 4234b54..0000000
--- a/hosts/moyo/sysctl.d/forwarding.conf
+++ /dev/null
@@ -1 +0,0 @@
-net.ipv4.ip_forward = 1
diff --git a/hosts/moyo/sysctl.d/iotop.conf b/hosts/moyo/sysctl.d/iotop.conf
deleted file mode 100644
index 2655235..0000000
--- a/hosts/moyo/sysctl.d/iotop.conf
+++ /dev/null
@@ -1 +0,0 @@
-kernel.task_delayacct = 1
diff --git a/hosts/moyo/sysctl.d/libvirt.conf b/hosts/moyo/sysctl.d/libvirt.conf
deleted file mode 100644
index 3d6a55d..0000000
--- a/hosts/moyo/sysctl.d/libvirt.conf
+++ /dev/null
@@ -1 +0,0 @@
-vm.min_free_kbytes = 112640
diff --git a/hosts/moyo/sysctl.d/perfmon.conf b/hosts/moyo/sysctl.d/perfmon.conf
deleted file mode 100644
index 6c74468..0000000
--- a/hosts/moyo/sysctl.d/perfmon.conf
+++ /dev/null
@@ -1 +0,0 @@
-kernel.perf_event_paranoid = 0
diff --git a/hosts/moyo/sysctl.d/tcp.conf b/hosts/moyo/sysctl.d/tcp.conf
deleted file mode 100644
index 193417e..0000000
--- a/hosts/moyo/sysctl.d/tcp.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-net.ipv4.tcp_keepalive_time = 160
-net.ipv4.tcp_keepalive_intvl = 20
-net.ipv4.tcp_keepalive_probes = 6
diff --git a/nix_archive/flake.lock b/nix_archive/flake.lock
index 4109bf8..bdc8f63 100644
--- a/nix_archive/flake.lock
+++ b/nix_archive/flake.lock
@@ -90,11 +90,11 @@
]
},
"locked": {
- "lastModified": 1760312644,
- "narHash": "sha256-U9SkK45314urw9P7MmjhEgiQwwD/BTj+T3HTuz1JU1Q=",
+ "lastModified": 1761584077,
+ "narHash": "sha256-dISPEZahlfs5K6d58zR4akRRyogfE9P4WSyPPNT7HiE=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "e121f3773fa596ecaba5b22e518936a632d72a90",
+ "rev": "e82585308aef3d4cc2c36c7b6946051c8cdf24ef",
"type": "github"
},
"original": {
@@ -144,11 +144,11 @@
},
"nixos-hardware": {
"locked": {
- "lastModified": 1760106635,
- "narHash": "sha256-2GoxVaKWTHBxRoeUYSjv0AfSOx4qw5CWSFz2b+VolKU=",
+ "lastModified": 1760958188,
+ "narHash": "sha256-2m1S4jl+GEDtlt2QqeHil8Ny456dcGSKJAM7q3j/BFU=",
"owner": "NixOS",
"repo": "nixos-hardware",
- "rev": "9ed85f8afebf2b7478f25db0a98d0e782c0ed903",
+ "rev": "d6645c340ef7d821602fd2cd199e8d1eed10afbc",
"type": "github"
},
"original": {
@@ -211,11 +211,11 @@
},
"nixpkgs_3": {
"locked": {
- "lastModified": 1760284886,
- "narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=",
+ "lastModified": 1761373498,
+ "narHash": "sha256-Q/uhWNvd7V7k1H1ZPMy/vkx3F8C13ZcdrKjO7Jv7v0c=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "cf3f5c4def3c7b5f1fc012b3d839575dbe552d43",
+ "rev": "6a08e6bb4e46ff7fcbb53d409b253f6bad8a28ce",
"type": "github"
},
"original": {
@@ -233,11 +233,11 @@
]
},
"locked": {
- "lastModified": 1760455591,
- "narHash": "sha256-QrVA0pTq+NDxjY4lJSp81XpKByguMKLD18Yy/y2Jwww=",
+ "lastModified": 1761601325,
+ "narHash": "sha256-0UtnyehKLys0HWhctZEjKN7zDe+ML0HCDdqdfHk221o=",
"owner": "nix-community",
"repo": "NUR",
- "rev": "881b3f1edac47a9eb36e9cbeae13d5627ef1cad6",
+ "rev": "378c5c7b0b2471b59b71e42b229ea5e68050235d",
"type": "github"
},
"original": {
diff --git a/nix_archive/hosts/palm/programs.nix b/nix_archive/hosts/palm/programs.nix
index d82e72a..493653b 100644
--- a/nix_archive/hosts/palm/programs.nix
+++ b/nix_archive/hosts/palm/programs.nix
@@ -6,6 +6,7 @@
(discord.override { withOpenASAR = true; })
(asNeeded "imv" ["imv"])
(asNeeded "mpv" ["mpv"])
+ (asNeeded "steam-run" ["steam-run"])
#camu
#camu-devshell
#mauri
diff --git a/nix_archive/nix/programs/firefox.nix b/nix_archive/nix/programs/firefox.nix
index d278bd4..c485e49 100644
--- a/nix_archive/nix/programs/firefox.nix
+++ b/nix_archive/nix/programs/firefox.nix
@@ -19,8 +19,8 @@ in {
source = (pkgs.fetchFromGitHub {
owner = "rafaelmardojai";
repo = "firefox-gnome-theme";
- rev = "0909cfe4a2af8d358ad13b20246a350e14c2473d";
- hash = "sha256-lizRM2pj6PHrR25yimjyFn04OS4wcdbc38DCdBVa2rk=";
+ rev = "afd438034bf91089cfeb9e6b5cb987bdf5442d0f";
+ hash = "sha256-0E3TqvXAy81qeM/jZXWWOTZ14Hs1RT7o78UyZM+Jbr4=";
});
};
home.file."customChrome.css" = {
diff --git a/nix_archive/nix/user.nix b/nix_archive/nix/user.nix
index 817d36e..3c78a18 100644
--- a/nix_archive/nix/user.nix
+++ b/nix_archive/nix/user.nix
@@ -169,16 +169,18 @@ in {
};
programs.git = {
enable = true;
- userEmail = "andrew@akon.city";
- userName = "Andrew Opalach";
+ settings = {
+ user = {
+ email = "andrew@akon.city";
+ name = "Andrew Opalach";
+ };
+ format.signOff = true;
+ init.defaultBranch = "master";
+ };
signing = {
key = "99659CB58598BDDB"; # The last digits of the key.
signByDefault = true;
};
- extraConfig = {
- format.signOff = true;
- init.defaultBranch = "master";
- };
};
home.file.".config/gdb/gdbinit".source = ../../files/gdbinit;
home.file.".config/colors.json".text = ''
diff --git a/scripts/desktop/proton-env b/scripts/desktop/proton-env
index c25fe30..d62f488 100755
--- a/scripts/desktop/proton-env
+++ b/scripts/desktop/proton-env
@@ -18,7 +18,8 @@ unset SDL_VIDEO_DRIVER
xrandr --output $MAIN_MONITOR --primary
if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then
- exec env LD_PRELOAD="/usr/lib64/libgamemodeauto.so:/usr/lib64/libMangoHud.so:/usr/lib64/libMangoHud_opengl.so" mangohud "$@"
+ exec env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" mangohud "$@"
+ #exec env LD_PRELOAD="/usr/lib64/libgamemodeauto.so:/usr/lib64/libMangoHud.so:/usr/lib64/libMangoHud_opengl.so" mangohud "$@"
else
exec env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" "$@"
fi
diff --git a/scripts/desktop/proton-env32 b/scripts/desktop/proton-env32
index 067ef02..889c105 100755
--- a/scripts/desktop/proton-env32
+++ b/scripts/desktop/proton-env32
@@ -16,7 +16,8 @@ unset SDL_VIDEO_DRIVER
xrandr --output $MAIN_MONITOR --primary
if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then
- exec env LD_PRELOAD="/usr/lib/libgamemodeauto.so:/usr/lib/libMangoHud.so:/usr/lib/libMangoHud_opengl.so" mangohud "$@"
+ exec env LD_PRELOAD="/usr/lib/libgamemodeauto.so" mangohud "$@"
+ #exec env LD_PRELOAD="/usr/lib/libgamemodeauto.so:/usr/lib/libMangoHud.so:/usr/lib/libMangoHud_opengl.so" mangohud "$@"
else
exec env LD_PRELOAD="/usr/lib/libgamemodeauto.so" "$@"
fi
diff --git a/themes/iroha/mako b/themes/iroha/mako
new file mode 100644
index 0000000..54ad7cf
--- /dev/null
+++ b/themes/iroha/mako
@@ -0,0 +1,4 @@
+background-color=#000000
+border-color=#af8700
+default-timeout=14000
+font=monospace 11