summaryrefslogtreecommitdiff
path: root/hosts/iroha
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-10-29 14:20:21 -0400
committerAndrew Opalach <andrew@akon.city> 2025-10-29 14:20:21 -0400
commit342f1dcf115f998cbb5d27c5593e215b01e5b7a4 (patch)
tree0cf3b25183d4e0e0081dae237f0d9b7a17f8e5d6 /hosts/iroha
parent544da1ba50d9cbf51a18ca0abf1db66b3baa7460 (diff)
downloaddotfiles-342f1dcf115f998cbb5d27c5593e215b01e5b7a4.tar.gz
dotfiles-342f1dcf115f998cbb5d27c5593e215b01e5b7a4.tar.bz2
dotfiles-342f1dcf115f998cbb5d27c5593e215b01e5b7a4.zip
Finish adding files from new moyo, misc updates
Diffstat (limited to 'hosts/iroha')
-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
8 files changed, 21 insertions, 9 deletions
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