From 962c35425636e3f942fd8a624369a7c53748f47e Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- .gitignore | 6 + LICENSE | 14 + backup.sh | 111 + etc/UPower/UPower.conf | 94 + etc/X11/xorg.conf.d/intel.conf | 5 + etc/X11/xorg.conf.d/thinkpad.conf | 14 + etc/buildkernel.conf | 8 + etc/conf.d/acpid | 6 + etc/conf.d/adjtimex | 9 + etc/conf.d/agetty | 11 + etc/conf.d/alsasound | 15 + etc/conf.d/bootmisc | 15 + etc/conf.d/busybox-ntpd | 6 + etc/conf.d/busybox-watchdog | 9 + etc/conf.d/consolefont | 18 + etc/conf.d/devfs | 8 + etc/conf.d/device-mapper | 1 + etc/conf.d/display-manager | 13 + etc/conf.d/dmcrypt | 112 + etc/conf.d/dmesg | 3 + etc/conf.d/earlyoom | 1 + etc/conf.d/elogind | 7 + etc/conf.d/fancontrol | 16 + etc/conf.d/fcron | 7 + etc/conf.d/fsck | 40 + etc/conf.d/git-daemon | 19 + etc/conf.d/haveged | 9 + etc/conf.d/hdparm | 26 + etc/conf.d/hostname | 2 + etc/conf.d/hwclock | 20 + etc/conf.d/ip6tables | 27 + etc/conf.d/iptables | 27 + etc/conf.d/irqbalance | 19 + etc/conf.d/keymaps | 23 + etc/conf.d/killprocs | 6 + etc/conf.d/lm_sensors | 4 + etc/conf.d/localmount | 10 + etc/conf.d/lvm | 9 + etc/conf.d/modules | 22 + etc/conf.d/mtab | 13 + etc/conf.d/net | 7 + etc/conf.d/net-online | 18 + etc/conf.d/netmount | 47 + etc/conf.d/nfs | 38 + etc/conf.d/nfsclient | 18 + etc/conf.d/ntpd | 7 + etc/conf.d/openvpn | 18 + etc/conf.d/pciparm | 28 + etc/conf.d/pydoc-2.7 | 6 + etc/conf.d/pydoc-3.9 | 6 + etc/conf.d/rpcbind | 4 + etc/conf.d/rsyncd | 5 + etc/conf.d/saslauthd | 19 + etc/conf.d/smapi | 20 + etc/conf.d/smartd | 4 + etc/conf.d/sshd | 33 + etc/conf.d/stmpfiles-dev | 2 + etc/conf.d/stmpfiles-setup | 2 + etc/conf.d/svnserve | 10 + etc/conf.d/swap | 13 + etc/conf.d/syncthing | 24 + etc/conf.d/syslog-ng | 43 + etc/conf.d/udev | 9 + etc/conf.d/udev-settle | 5 + etc/conf.d/udev-trigger | 32 + etc/conf.d/urandom | 5 + etc/dispatch-conf.conf | 65 + etc/doas.conf | 16 + etc/eclean/distfiles.exclude | 7 + etc/eclean/packages.exclude | 4 + etc/env.d/00glibc | 1 + etc/env.d/00manpager | 1 + etc/env.d/02locale | 3 + etc/env.d/04gcc-x86_64-pc-linux-gnu | 4 + etc/env.d/05binutils | 2 + etc/env.d/09sandbox | 1 + etc/env.d/30gnupg | 1 + etc/env.d/37fontconfig | 1 + etc/env.d/50baselayout | 9 + etc/env.d/50emacs | 1 + etc/env.d/50ncurses | 1 + etc/env.d/50package-manager | 3 + etc/env.d/70less | 2 + etc/env.d/98ca-certificates | 1 + etc/env.d/99editor | 4 + etc/env.d/99gentoolkit-env | 1 + etc/env.d/99pager | 3 + etc/env.d/binutils/config-x86_64-pc-linux-gnu | 1 + etc/env.d/binutils/x86_64-pc-linux-gnu-2.37_p1 | 3 + etc/env.d/gcc/config-x86_64-pc-linux-gnu | 1 + etc/env.d/gcc/x86_64-pc-linux-gnu-11.2.0 | 8 + etc/filesystems | 14 + etc/fonts/conf.d/09-texlive.conf | 1 + etc/fonts/conf.d/10-hinting-slight.conf | 1 + etc/fonts/conf.d/10-sub-pixel-rgb.conf | 1 + etc/fonts/conf.d/11-lcdfilter-default.conf | 1 + etc/fonts/conf.d/30-metric-aliases.conf | 1 + etc/fonts/conf.d/40-nonlatin.conf | 1 + etc/fonts/conf.d/45-generic.conf | 1 + etc/fonts/conf.d/45-latin.conf | 1 + etc/fonts/conf.d/49-sansserif.conf | 1 + etc/fonts/conf.d/50-user.conf | 1 + etc/fonts/conf.d/51-local.conf | 1 + etc/fonts/conf.d/60-generic.conf | 1 + etc/fonts/conf.d/60-latin.conf | 1 + etc/fonts/conf.d/63-source-pro.conf | 1 + etc/fonts/conf.d/65-nonlatin.conf | 1 + etc/fonts/conf.d/66-ja-ipafonts.conf | 1 + etc/fonts/conf.d/80-delicious.conf | 1 + etc/fonts/conf.d/90-synthetic.conf | 1 + etc/fonts/conf.d/README | 23 + etc/fstab | 5 + etc/fuse.conf | 17 + etc/genkernel.conf | 314 ++ etc/hdparm.conf | 4 + etc/issue | 6 + etc/laptop-mode/conf.d/intel-hda-powersave.conf | 39 + etc/laptop-mode/conf.d/intel-sata-powermgmt.conf | 39 + etc/laptop-mode/laptop-mode.conf | 381 ++ etc/locale.gen | 9 + etc/login.defs | 500 ++ etc/logrotate.conf | 42 + etc/logrotate.d/elog-save-summary | 10 + etc/logrotate.d/mpd | 9 + etc/logrotate.d/openrc | 4 + etc/logrotate.d/rsyncd | 9 + etc/logrotate.d/syslog-ng | 83 + etc/modprobe.d/aliases.conf | 42 + etc/modprobe.d/alsa.conf | 38 + etc/modprobe.d/blacklist.conf | 1 + etc/modprobe.d/i386.conf | 4 + etc/modprobe.d/iwlwifi.conf | 1 + etc/modprobe.d/thinkpad.conf | 2 + etc/modules-load.d/acpi.conf | 1 + etc/modules-load.d/thinkpad.conf | 2 + etc/mpd.conf | 58 + etc/pm/config.d/sleep.d/50_hdparm-pm | 14 + etc/pm/config.d/thinkpad_acpi | 1 + etc/portage/env/ccache.conf | 3 + etc/portage/env/debug.conf | 3 + etc/portage/env/gcc.conf | 5 + etc/portage/env/llvm.conf | 7 + etc/portage/env/tmp.conf | 1 + etc/portage/make.conf | 42 + etc/portage/make.profile | 1 + etc/portage/modules | 1 + etc/portage/package.accept_keywords/00-misc.conf | 8 + .../package.accept_keywords/10-overlay.conf | 0 etc/portage/package.accept_keywords/99-auto.conf | 0 etc/portage/package.env/00-misc.conf | 17 + etc/portage/package.env/99-auto.conf | 0 etc/portage/package.mask/00-misc.conf | 0 etc/portage/package.mask/50-python.conf | 6 + etc/portage/package.mask/99-auto.conf | 0 etc/portage/package.unmask/00-misc.conf | 0 etc/portage/package.unmask/99-auto.conf | 0 etc/portage/package.use/00-misc-category.conf | 73 + etc/portage/package.use/05-misc-virtual.conf | 2 + etc/portage/package.use/10-misc-package.conf | 80 + etc/portage/package.use/20-emacs.conf | 18 + etc/portage/package.use/30-lib-static.conf | 18 + etc/portage/package.use/30-lib.conf | 38 + etc/portage/package.use/40-dev.conf | 34 + etc/portage/package.use/50-javascript.conf | 1 + etc/portage/package.use/50-lua.conf | 10 + etc/portage/package.use/50-perl.conf | 4 + etc/portage/package.use/50-python.conf | 50 + etc/portage/package.use/60-qt.conf | 11 + etc/portage/package.use/99-auto.conf | 0 .../app-admin/haskell-updater/emerge-no-ask.patch | 12 + .../patches/media-libs/opencv-4.5.0/ade_tar.patch | 14 + .../coreutils-8.32-r1/advcpmv-0.8-8.32.patch | 648 +++ etc/portage/patches/sys-apps/pmount/btrfs.patch | 12 + etc/portage/patches/sys-power/suspend/gcc-10.patch | 93 + .../patches/x11-misc/xsnow/compositor.patch | 1501 ++++++ etc/portage/repos.conf/eselect-repo.conf | 12 + etc/portage/repos.conf/gentoo.conf | 19 + etc/portage/savedconfig/app-shells/fzy-1.0-r1 | 14 + etc/portage/savedconfig/media-gfx/sxiv-9999 | 130 + etc/portage/savedconfig/sys-apps/busybox-1.33.1-r1 | 1200 +++++ .../savedconfig/sys-kernel/linux-firmware-99999999 | 1 + etc/portage/savedconfig/x11-misc/dmenu-9999 | 18 + etc/portage/savedconfig/x11-misc/slock-1.4 | 12 + etc/portage/savedconfig/x11-terms/st-9999 | 323 ++ etc/portage/savedconfig/x11-wm/dwm-9999 | 99 + etc/portage/smart-live-rebuild.conf | 2 + etc/python-exec/python-exec.conf | 28 + etc/runlevels/boot/binfmt | 1 + etc/runlevels/boot/bootmisc | 1 + etc/runlevels/boot/elogind | 1 + etc/runlevels/boot/fsck | 1 + etc/runlevels/boot/hostname | 1 + etc/runlevels/boot/hwclock | 1 + etc/runlevels/boot/keymaps | 1 + etc/runlevels/boot/localmount | 1 + etc/runlevels/boot/loopback | 1 + etc/runlevels/boot/modules | 1 + etc/runlevels/boot/mtab | 1 + etc/runlevels/boot/opentmpfiles-setup | 1 + etc/runlevels/boot/procfs | 1 + etc/runlevels/boot/root | 1 + etc/runlevels/boot/save-keymaps | 1 + etc/runlevels/boot/save-termencoding | 1 + etc/runlevels/boot/stmpfiles-setup | 1 + etc/runlevels/boot/swap | 1 + etc/runlevels/boot/sysctl | 1 + etc/runlevels/boot/termencoding | 1 + etc/runlevels/boot/urandom | 1 + etc/runlevels/default/dbus | 1 + etc/runlevels/default/earlyoom | 1 + etc/runlevels/default/fcron | 1 + etc/runlevels/default/haveged | 1 + etc/runlevels/default/hdparm | 1 + etc/runlevels/default/iwd | 1 + etc/runlevels/default/laptop_mode | 1 + etc/runlevels/default/mpd | 1 + etc/runlevels/default/net.eth0 | 1 + etc/runlevels/default/net.wlan0 | 1 + etc/runlevels/default/ntpd | 1 + etc/runlevels/default/smartd | 1 + etc/runlevels/default/syslog-ng | 1 + etc/runlevels/default/thinkfan | 1 + etc/runlevels/default/uksmd | 1 + etc/runlevels/shutdown/killprocs | 1 + etc/runlevels/shutdown/mount-ro | 1 + etc/runlevels/shutdown/savecache | 1 + etc/runlevels/sysinit/cgroups | 1 + etc/runlevels/sysinit/devfs | 1 + etc/runlevels/sysinit/dmesg | 1 + etc/runlevels/sysinit/kmod-static-nodes | 1 + etc/runlevels/sysinit/opentmpfiles-dev | 1 + etc/runlevels/sysinit/stmpfiles-dev | 1 + etc/runlevels/sysinit/sysfs | 1 + etc/runlevels/sysinit/udev | 1 + etc/runlevels/sysinit/udev-trigger | 1 + etc/sysctl.conf | 60 + etc/sysctl.d/00protected-links.conf | 2 + etc/sysctl.d/10vm.conf | 5 + etc/sysctl.d/20inotify.conf | 1 + etc/sysctl.d/README | 13 + etc/syslog-ng/syslog-ng.conf | 115 + etc/thinkfan.conf | 107 + etc/timezone | 1 + etc/udev/rules.d/60-bfq.rules | 3 + etc/udev/rules.d/80-net-name-slot.rules | 0 etc/udev/udev.conf | 3 + readme.org | 2 + usr/src/linux/.config | 5270 ++++++++++++++++++++ var/lib/portage/world | 199 + var/lib/portage/world_sets | 0 250 files changed, 13442 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100755 backup.sh create mode 100644 etc/UPower/UPower.conf create mode 100644 etc/X11/xorg.conf.d/intel.conf create mode 100644 etc/X11/xorg.conf.d/thinkpad.conf create mode 100644 etc/buildkernel.conf create mode 100644 etc/conf.d/acpid create mode 100644 etc/conf.d/adjtimex create mode 100644 etc/conf.d/agetty create mode 100644 etc/conf.d/alsasound create mode 100644 etc/conf.d/bootmisc create mode 100644 etc/conf.d/busybox-ntpd create mode 100644 etc/conf.d/busybox-watchdog create mode 100644 etc/conf.d/consolefont create mode 100644 etc/conf.d/devfs create mode 100644 etc/conf.d/device-mapper create mode 100644 etc/conf.d/display-manager create mode 100644 etc/conf.d/dmcrypt create mode 100644 etc/conf.d/dmesg create mode 120000 etc/conf.d/earlyoom create mode 100644 etc/conf.d/elogind create mode 100644 etc/conf.d/fancontrol create mode 100644 etc/conf.d/fcron create mode 100644 etc/conf.d/fsck create mode 100644 etc/conf.d/git-daemon create mode 100644 etc/conf.d/haveged create mode 100644 etc/conf.d/hdparm create mode 100644 etc/conf.d/hostname create mode 100644 etc/conf.d/hwclock create mode 100644 etc/conf.d/ip6tables create mode 100644 etc/conf.d/iptables create mode 100644 etc/conf.d/irqbalance create mode 100644 etc/conf.d/keymaps create mode 100644 etc/conf.d/killprocs create mode 100644 etc/conf.d/lm_sensors create mode 100644 etc/conf.d/localmount create mode 100644 etc/conf.d/lvm create mode 100644 etc/conf.d/modules create mode 100644 etc/conf.d/mtab create mode 100644 etc/conf.d/net create mode 100644 etc/conf.d/net-online create mode 100644 etc/conf.d/netmount create mode 100644 etc/conf.d/nfs create mode 100644 etc/conf.d/nfsclient create mode 100644 etc/conf.d/ntpd create mode 100644 etc/conf.d/openvpn create mode 100644 etc/conf.d/pciparm create mode 100644 etc/conf.d/pydoc-2.7 create mode 100644 etc/conf.d/pydoc-3.9 create mode 100644 etc/conf.d/rpcbind create mode 100644 etc/conf.d/rsyncd create mode 100644 etc/conf.d/saslauthd create mode 100644 etc/conf.d/smapi create mode 100644 etc/conf.d/smartd create mode 100644 etc/conf.d/sshd create mode 100644 etc/conf.d/stmpfiles-dev create mode 100644 etc/conf.d/stmpfiles-setup create mode 100644 etc/conf.d/svnserve create mode 100644 etc/conf.d/swap create mode 100644 etc/conf.d/syncthing create mode 100644 etc/conf.d/syslog-ng create mode 100644 etc/conf.d/udev create mode 100644 etc/conf.d/udev-settle create mode 100644 etc/conf.d/udev-trigger create mode 100644 etc/conf.d/urandom create mode 100644 etc/dispatch-conf.conf create mode 100644 etc/doas.conf create mode 100644 etc/eclean/distfiles.exclude create mode 100644 etc/eclean/packages.exclude create mode 100644 etc/env.d/00glibc create mode 100644 etc/env.d/00manpager create mode 100644 etc/env.d/02locale create mode 100644 etc/env.d/04gcc-x86_64-pc-linux-gnu create mode 100644 etc/env.d/05binutils create mode 100644 etc/env.d/09sandbox create mode 100644 etc/env.d/30gnupg create mode 100644 etc/env.d/37fontconfig create mode 100644 etc/env.d/50baselayout create mode 100644 etc/env.d/50emacs create mode 100644 etc/env.d/50ncurses create mode 100644 etc/env.d/50package-manager create mode 100644 etc/env.d/70less create mode 100644 etc/env.d/98ca-certificates create mode 100644 etc/env.d/99editor create mode 100644 etc/env.d/99gentoolkit-env create mode 100644 etc/env.d/99pager create mode 100644 etc/env.d/binutils/config-x86_64-pc-linux-gnu create mode 100644 etc/env.d/binutils/x86_64-pc-linux-gnu-2.37_p1 create mode 100644 etc/env.d/gcc/config-x86_64-pc-linux-gnu create mode 100644 etc/env.d/gcc/x86_64-pc-linux-gnu-11.2.0 create mode 100644 etc/filesystems create mode 120000 etc/fonts/conf.d/09-texlive.conf create mode 120000 etc/fonts/conf.d/10-hinting-slight.conf create mode 120000 etc/fonts/conf.d/10-sub-pixel-rgb.conf create mode 120000 etc/fonts/conf.d/11-lcdfilter-default.conf create mode 120000 etc/fonts/conf.d/30-metric-aliases.conf create mode 120000 etc/fonts/conf.d/40-nonlatin.conf create mode 120000 etc/fonts/conf.d/45-generic.conf create mode 120000 etc/fonts/conf.d/45-latin.conf create mode 120000 etc/fonts/conf.d/49-sansserif.conf create mode 120000 etc/fonts/conf.d/50-user.conf create mode 120000 etc/fonts/conf.d/51-local.conf create mode 120000 etc/fonts/conf.d/60-generic.conf create mode 120000 etc/fonts/conf.d/60-latin.conf create mode 120000 etc/fonts/conf.d/63-source-pro.conf create mode 120000 etc/fonts/conf.d/65-nonlatin.conf create mode 120000 etc/fonts/conf.d/66-ja-ipafonts.conf create mode 120000 etc/fonts/conf.d/80-delicious.conf create mode 120000 etc/fonts/conf.d/90-synthetic.conf create mode 100644 etc/fonts/conf.d/README create mode 100644 etc/fstab create mode 100644 etc/fuse.conf create mode 100644 etc/genkernel.conf create mode 100644 etc/hdparm.conf create mode 100644 etc/issue create mode 100644 etc/laptop-mode/conf.d/intel-hda-powersave.conf create mode 100644 etc/laptop-mode/conf.d/intel-sata-powermgmt.conf create mode 100644 etc/laptop-mode/laptop-mode.conf create mode 100644 etc/locale.gen create mode 100644 etc/login.defs create mode 100644 etc/logrotate.conf create mode 100644 etc/logrotate.d/elog-save-summary create mode 100644 etc/logrotate.d/mpd create mode 100644 etc/logrotate.d/openrc create mode 100644 etc/logrotate.d/rsyncd create mode 100644 etc/logrotate.d/syslog-ng create mode 100644 etc/modprobe.d/aliases.conf create mode 100644 etc/modprobe.d/alsa.conf create mode 100644 etc/modprobe.d/blacklist.conf create mode 100644 etc/modprobe.d/i386.conf create mode 100644 etc/modprobe.d/iwlwifi.conf create mode 100644 etc/modprobe.d/thinkpad.conf create mode 100644 etc/modules-load.d/acpi.conf create mode 100644 etc/modules-load.d/thinkpad.conf create mode 100644 etc/mpd.conf create mode 100755 etc/pm/config.d/sleep.d/50_hdparm-pm create mode 100644 etc/pm/config.d/thinkpad_acpi create mode 100644 etc/portage/env/ccache.conf create mode 100644 etc/portage/env/debug.conf create mode 100644 etc/portage/env/gcc.conf create mode 100644 etc/portage/env/llvm.conf create mode 100644 etc/portage/env/tmp.conf create mode 100644 etc/portage/make.conf create mode 120000 etc/portage/make.profile create mode 100644 etc/portage/modules create mode 100644 etc/portage/package.accept_keywords/00-misc.conf create mode 100644 etc/portage/package.accept_keywords/10-overlay.conf create mode 100644 etc/portage/package.accept_keywords/99-auto.conf create mode 100644 etc/portage/package.env/00-misc.conf create mode 100644 etc/portage/package.env/99-auto.conf create mode 100644 etc/portage/package.mask/00-misc.conf create mode 100644 etc/portage/package.mask/50-python.conf create mode 100644 etc/portage/package.mask/99-auto.conf create mode 100644 etc/portage/package.unmask/00-misc.conf create mode 100644 etc/portage/package.unmask/99-auto.conf create mode 100644 etc/portage/package.use/00-misc-category.conf create mode 100644 etc/portage/package.use/05-misc-virtual.conf create mode 100644 etc/portage/package.use/10-misc-package.conf create mode 100644 etc/portage/package.use/20-emacs.conf create mode 100644 etc/portage/package.use/30-lib-static.conf create mode 100644 etc/portage/package.use/30-lib.conf create mode 100644 etc/portage/package.use/40-dev.conf create mode 100644 etc/portage/package.use/50-javascript.conf create mode 100644 etc/portage/package.use/50-lua.conf create mode 100644 etc/portage/package.use/50-perl.conf create mode 100644 etc/portage/package.use/50-python.conf create mode 100644 etc/portage/package.use/60-qt.conf create mode 100644 etc/portage/package.use/99-auto.conf create mode 100644 etc/portage/patches/app-admin/haskell-updater/emerge-no-ask.patch create mode 100644 etc/portage/patches/media-libs/opencv-4.5.0/ade_tar.patch create mode 100644 etc/portage/patches/sys-apps/coreutils-8.32-r1/advcpmv-0.8-8.32.patch create mode 100644 etc/portage/patches/sys-apps/pmount/btrfs.patch create mode 100644 etc/portage/patches/sys-power/suspend/gcc-10.patch create mode 100644 etc/portage/patches/x11-misc/xsnow/compositor.patch create mode 100644 etc/portage/repos.conf/eselect-repo.conf create mode 100644 etc/portage/repos.conf/gentoo.conf create mode 100644 etc/portage/savedconfig/app-shells/fzy-1.0-r1 create mode 100644 etc/portage/savedconfig/media-gfx/sxiv-9999 create mode 100644 etc/portage/savedconfig/sys-apps/busybox-1.33.1-r1 create mode 100644 etc/portage/savedconfig/sys-kernel/linux-firmware-99999999 create mode 100644 etc/portage/savedconfig/x11-misc/dmenu-9999 create mode 100644 etc/portage/savedconfig/x11-misc/slock-1.4 create mode 100644 etc/portage/savedconfig/x11-terms/st-9999 create mode 100644 etc/portage/savedconfig/x11-wm/dwm-9999 create mode 100644 etc/portage/smart-live-rebuild.conf create mode 100644 etc/python-exec/python-exec.conf create mode 120000 etc/runlevels/boot/binfmt create mode 120000 etc/runlevels/boot/bootmisc create mode 120000 etc/runlevels/boot/elogind create mode 120000 etc/runlevels/boot/fsck create mode 120000 etc/runlevels/boot/hostname create mode 120000 etc/runlevels/boot/hwclock create mode 120000 etc/runlevels/boot/keymaps create mode 120000 etc/runlevels/boot/localmount create mode 120000 etc/runlevels/boot/loopback create mode 120000 etc/runlevels/boot/modules create mode 120000 etc/runlevels/boot/mtab create mode 120000 etc/runlevels/boot/opentmpfiles-setup create mode 120000 etc/runlevels/boot/procfs create mode 120000 etc/runlevels/boot/root create mode 120000 etc/runlevels/boot/save-keymaps create mode 120000 etc/runlevels/boot/save-termencoding create mode 120000 etc/runlevels/boot/stmpfiles-setup create mode 120000 etc/runlevels/boot/swap create mode 120000 etc/runlevels/boot/sysctl create mode 120000 etc/runlevels/boot/termencoding create mode 120000 etc/runlevels/boot/urandom create mode 120000 etc/runlevels/default/dbus create mode 120000 etc/runlevels/default/earlyoom create mode 120000 etc/runlevels/default/fcron create mode 120000 etc/runlevels/default/haveged create mode 120000 etc/runlevels/default/hdparm create mode 120000 etc/runlevels/default/iwd create mode 120000 etc/runlevels/default/laptop_mode create mode 120000 etc/runlevels/default/mpd create mode 120000 etc/runlevels/default/net.eth0 create mode 120000 etc/runlevels/default/net.wlan0 create mode 120000 etc/runlevels/default/ntpd create mode 120000 etc/runlevels/default/smartd create mode 120000 etc/runlevels/default/syslog-ng create mode 120000 etc/runlevels/default/thinkfan create mode 120000 etc/runlevels/default/uksmd create mode 120000 etc/runlevels/shutdown/killprocs create mode 120000 etc/runlevels/shutdown/mount-ro create mode 120000 etc/runlevels/shutdown/savecache create mode 120000 etc/runlevels/sysinit/cgroups create mode 120000 etc/runlevels/sysinit/devfs create mode 120000 etc/runlevels/sysinit/dmesg create mode 120000 etc/runlevels/sysinit/kmod-static-nodes create mode 120000 etc/runlevels/sysinit/opentmpfiles-dev create mode 120000 etc/runlevels/sysinit/stmpfiles-dev create mode 120000 etc/runlevels/sysinit/sysfs create mode 120000 etc/runlevels/sysinit/udev create mode 120000 etc/runlevels/sysinit/udev-trigger create mode 100644 etc/sysctl.conf create mode 100644 etc/sysctl.d/00protected-links.conf create mode 100644 etc/sysctl.d/10vm.conf create mode 100644 etc/sysctl.d/20inotify.conf create mode 100644 etc/sysctl.d/README create mode 100644 etc/syslog-ng/syslog-ng.conf create mode 100644 etc/thinkfan.conf create mode 100644 etc/timezone create mode 100644 etc/udev/rules.d/60-bfq.rules create mode 100644 etc/udev/rules.d/80-net-name-slot.rules create mode 100644 etc/udev/udev.conf create mode 100644 readme.org create mode 100644 usr/src/linux/.config create mode 100644 var/lib/portage/world create mode 100644 var/lib/portage/world_sets diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..000f349 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +._* +.keep* +bashrc +bashrc.d +make.conf.lto +make.conf.lto.defines diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5a8e332 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + Everyone is permitted to copy and distribute verbatim or modified + copies of this license document, and changing it is allowed as long + as the name is changed. + + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. You just DO WHAT THE FUCK YOU WANT TO. + diff --git a/backup.sh b/backup.sh new file mode 100755 index 0000000..f60094d --- /dev/null +++ b/backup.sh @@ -0,0 +1,111 @@ +#!/bin/sh + +### Functions +prepare() { + for i in etc var usr; do + [ -d "./$i" ] && + rm -rf "./$i" + done +} + +mkdir_check() { + [ ! -d "$1" ] && + mkdir -p "$1" +} + +rm_check() { + if [ -d "$1" ] || [ -f "$1" ]; then + rm -rf "$1" + fi +} + +dump_dir() { + mkdir_check ".$1" + rsync --archive "$1/" ".$1" +} + +dump_file() { + rsync --archive "$1" ".$1" +} + +### Prepare +prepare + +### Dump +# portage +dump_dir /etc/portage +mkdir_check ./var/lib/portage +dump_file /var/lib/portage/world +dump_file /var/lib/portage/world_sets + +# eclean +dump_dir /etc/eclean + +# X11 +dump_dir /etc/X11/xorg.conf.d + +# doas +dump_file /etc/doas.conf + +# Python +dump_dir /etc/python-exec + +# Kernel +mkdir_check ./usr/src/linux +zcat /proc/config.gz >./usr/src/linux/.config + +# Kernel modules +dump_dir /etc/modprobe.d +dump_dir /etc/modules-load.d + +# sysctl +dump_dir /etc/sysctl.d +dump_file /etc/sysctl.conf + +# OpenRC +dump_dir /etc/runlevels +dump_dir /etc/conf.d + +# udev +dump_dir /etc/udev/rules.d +dump_file /etc/udev/udev.conf + +# env.d +dump_dir /etc/env.d + +# fontconfig +dump_dir /etc/fonts/conf.d + +# laptop-mode-tools +mkdir_check ./etc/laptop-mode +dump_file /etc/laptop-mode/laptop-mode.conf +mkdir_check ./etc/laptop-mode/conf.d +dump_file /etc/laptop-mode/conf.d/intel-hda-powersave.conf +dump_file /etc/laptop-mode/conf.d/intel-sata-powermgmt.conf +dump_dir /etc/pm + +# UPower +dump_dir /etc/UPower + +# syslog-ng +mkdir_check ./etc/syslog-ng +dump_file /etc/syslog-ng/syslog-ng.conf + +# logrotate +dump_dir /etc/logrotate.d +dump_file /etc/logrotate.conf + +# Misc. +dump_file /etc/buildkernel.conf +dump_file /etc/dispatch-conf.conf +dump_file /etc/filesystems +dump_file /etc/fstab +dump_file /etc/fuse.conf +dump_file /etc/genkernel.conf +dump_file /etc/hdparm.conf +dump_file /etc/issue +dump_file /etc/locale.gen +dump_file /etc/login.defs +dump_file /etc/mpd.conf +dump_file /etc/thinkfan.conf +dump_file /etc/timezone diff --git a/etc/UPower/UPower.conf b/etc/UPower/UPower.conf new file mode 100644 index 0000000..e2c6a69 --- /dev/null +++ b/etc/UPower/UPower.conf @@ -0,0 +1,94 @@ +# Only the system vendor should modify this file, ordinary users +# should not have to change anything. + +[UPower] + +# Enable the Watts Up Pro device. +# +# The Watts Up Pro contains a generic FTDI USB device without a specific +# vendor and product ID. When we probe for WUP devices, we can cause +# the user to get a perplexing "Device or resource busy" error when +# attempting to use their non-WUP device. +# +# The generic FTDI device is known to also be used on: +# +# - Sparkfun FT232 breakout board +# - Parallax Propeller +# +# default=false +EnableWattsUpPro=false + +# Don't poll the kernel for battery level changes. +# +# Some hardware will send us battery level changes through +# events, rather than us having to poll for it. This option +# allows disabling polling for hardware that sends out events. +# +# default=false +NoPollBatteries=false + +# Do we ignore the lid state +# +# Some laptops are broken. The lid state is either inverted, or stuck +# on or off. We can't do much to fix these problems, but this is a way +# for users to make the laptop panel vanish, a state that might be used +# by a couple of user-space daemons. On Linux systems, see also +# logind.conf(5). +# +# default=false +IgnoreLid=false + +# Policy for warnings and action based on battery levels +# +# Whether battery percentage based policy should be used. The default +# is to use the time left, change to true to use the percentage, which +# should work around broken firmwares. It is also more reliable than +# the time left (frantically saving all your files is going to use more +# battery than letting it rest for example). +# default=true +UsePercentageForPolicy=true + +# When UsePercentageForPolicy is true, the levels at which UPower will +# consider the battery low, critical, or take action for the critical +# battery level. +# +# This will also be used for batteries which don't have time information +# such as that of peripherals. +# +# If any value is invalid, or not in descending order, the defaults +# will be used. +# +# Defaults: +# PercentageLow=10 +# PercentageCritical=3 +# PercentageAction=2 +PercentageLow=10 +PercentageCritical=3 +PercentageAction=2 + +# When UsePercentageForPolicy is false, the time remaining at which UPower +# will consider the battery low, critical, or take action for the critical +# battery level. +# +# If any value is invalid, or not in descending order, the defaults +# will be used. +# +# Defaults: +# TimeLow=1200 +# TimeCritical=300 +# TimeAction=120 +TimeLow=1200 +TimeCritical=300 +TimeAction=120 + +# The action to take when "TimeAction" or "PercentageAction" above has been +# reached for the batteries (UPS or laptop batteries) supplying the computer +# +# Possible values are: +# PowerOff +# Hibernate +# HybridSleep +# +# If HybridSleep isn't available, Hibernate will be used +# If Hibernate isn't available, PowerOff will be used +CriticalPowerAction=HybridSleep diff --git a/etc/X11/xorg.conf.d/intel.conf b/etc/X11/xorg.conf.d/intel.conf new file mode 100644 index 0000000..9a749d4 --- /dev/null +++ b/etc/X11/xorg.conf.d/intel.conf @@ -0,0 +1,5 @@ +Section "Device" + Identifier "intel" + Driver "intel" + Option "AccelMethod" "sna" +EndSection diff --git a/etc/X11/xorg.conf.d/thinkpad.conf b/etc/X11/xorg.conf.d/thinkpad.conf new file mode 100644 index 0000000..8d3f9ab --- /dev/null +++ b/etc/X11/xorg.conf.d/thinkpad.conf @@ -0,0 +1,14 @@ +Section "InputClass" + Identifier "ThinkPad TrackPoint" + MatchProduct "TPPS/2 IBM TrackPoint" + MatchDevicePath "/dev/input/event*" + Driver "libinput" + Option "EmulateWheel" "true" + Option "EmulateWheelButton" "2" + Option "Emulate3Buttons" "false" + Option "XAxisMapping" "6 7" + Option "YAxisMapping" "4 5" + Option "AccelerationNumerator" "2" + Option "AccelerationDenominator" "1" + Option "AccelerationThreshold" "4" +EndSection diff --git a/etc/buildkernel.conf b/etc/buildkernel.conf new file mode 100644 index 0000000..ae1440e --- /dev/null +++ b/etc/buildkernel.conf @@ -0,0 +1,8 @@ +ADDITIONALKERNELCMDS="quiet acpi_enforce_resources=lax pcie_aspm=force root_trim=yes i915.enable_rc6=7 i915.enable_fbc=1 scsi_mod.use_blk_mq=1 dm_mod.use_blk_mq=1 mitigations=off" +CMDLINE_REAL_RESUME="/dev/mapper/sg-swap" +CMDLINE_REAL_ROOT="/dev/mapper/sg-root" +COMPRESSINITRAMFS=0 +CRYPTPARTUUID="ca948045-447f-4046-82e1-f56f6245dd38" +EFIPARTUUID="bbe6ea66-16b7-5e41-995e-48ae3c955aa0" +INITSYSTEM="openrc" +LUKSKEYFILE="" diff --git a/etc/conf.d/acpid b/etc/conf.d/acpid new file mode 100644 index 0000000..9aadb4c --- /dev/null +++ b/etc/conf.d/acpid @@ -0,0 +1,6 @@ +# /etc/conf.d/acpid: config file for /etc/init.d/acpid + +# Options to pass to the acpid daemon. +# See the acpid(8) man page for more info. + +ACPID_ARGS="" diff --git a/etc/conf.d/adjtimex b/etc/conf.d/adjtimex new file mode 100644 index 0000000..5e97214 --- /dev/null +++ b/etc/conf.d/adjtimex @@ -0,0 +1,9 @@ +# /etc/conf.d/adjtimex - configuration file for adjtimex(8) +# +# you may adjust these values manually or by calling /usr/sbin/adjtimexconfig +# +# This file is sourced by /etc/init.d/adjtimex +# +TICK=9998 +FREQ=1336887 + diff --git a/etc/conf.d/agetty b/etc/conf.d/agetty new file mode 100644 index 0000000..03acee6 --- /dev/null +++ b/etc/conf.d/agetty @@ -0,0 +1,11 @@ +# make agetty quiet +#quiet="yes" + +# Set the baud rate of the terminal line +#baud="" + +# set the terminal type +#term_type="linux" + +# extra options to pass to agetty for this port +#agetty_options="" diff --git a/etc/conf.d/alsasound b/etc/conf.d/alsasound new file mode 100644 index 0000000..6fec8f5 --- /dev/null +++ b/etc/conf.d/alsasound @@ -0,0 +1,15 @@ +# RESTORE_ON_START: +# Do you want to restore your mixer settings? If not, your cards will be +# muted. +# no - Do not restore state +# yes - Restore state + +RESTORE_ON_START="yes" + +# SAVE_ON_STOP: +# Do you want to save changes made to your mixer volumes when alsasound +# stops? +# no - Do not save state +# yes - Save state + +SAVE_ON_STOP="yes" diff --git a/etc/conf.d/bootmisc b/etc/conf.d/bootmisc new file mode 100644 index 0000000..dd5b08e --- /dev/null +++ b/etc/conf.d/bootmisc @@ -0,0 +1,15 @@ +# List of /tmp directories we should clean up +clean_tmp_dirs="/tmp" + +# Should we wipe the tmp paths completely or just selectively remove known +# locks / files / etc... ? +wipe_tmp="YES" + +# Write the initial dmesg log into /var/log/dmesg after boot +# This may be useful if you need the kernel boot log afterwards +log_dmesg="YES" + +# Save the previous dmesg log to dmesg.old +# This may be useful if you need to compare the current boot to the +# previous one. +#previous_dmesg=no diff --git a/etc/conf.d/busybox-ntpd b/etc/conf.d/busybox-ntpd new file mode 100644 index 0000000..f50d4c2 --- /dev/null +++ b/etc/conf.d/busybox-ntpd @@ -0,0 +1,6 @@ +# Config file for /etc/init.d/busybox-ntpd + +# run "/sbin/ntpd --help" to see all possible options. + +# Get time from specified server and run in background +NTPD_OPTS="-N -p pool.ntp.org" diff --git a/etc/conf.d/busybox-watchdog b/etc/conf.d/busybox-watchdog new file mode 100644 index 0000000..bd6aec0 --- /dev/null +++ b/etc/conf.d/busybox-watchdog @@ -0,0 +1,9 @@ +# Config file for /etc/init.d/busybox-watchdog + +# run "/sbin/watchdog --help" to see all possible options. + +# Periodically write to watchdog device +WATCHDOG_OPTS="/dev/watchdog" + +# optionally set the nice-level +#SSD_NICELEVEL="-20" diff --git a/etc/conf.d/consolefont b/etc/conf.d/consolefont new file mode 100644 index 0000000..e01ae84 --- /dev/null +++ b/etc/conf.d/consolefont @@ -0,0 +1,18 @@ +# The consolefont service is not activated by default. If you need to +# use it, you should run "rc-update add consolefont boot" as root. +# +# consolefont specifies the default font that you'd like Linux to use on the +# console. You can find a good selection of fonts in /usr/share/consolefonts; +# you shouldn't specify the trailing ".psf.gz", just the font name below. +# To use the default console font, comment out the CONSOLEFONT setting below. +consolefont="default8x16" + +# consoletranslation is the charset map file to use. Leave commented to use +# the default one. Have a look in /usr/share/consoletrans for a selection of +# map files you can use. +#consoletranslation="8859-1_to_uni" + +# unicodemap is the unicode map file to use. Leave commented to use the +# default one. Have a look in /usr/share/unimaps for a selection of map files +# you can use. +#unicodemap="iso01" diff --git a/etc/conf.d/devfs b/etc/conf.d/devfs new file mode 100644 index 0000000..51f8037 --- /dev/null +++ b/etc/conf.d/devfs @@ -0,0 +1,8 @@ +# OpenRC will attempt each of the following in succession to mount /dev. +# +# 1. If there is an entry for /dev in fstab, it will be used. +# 2. If devtmpfs is defined in the kernel, it will be used. +# 3. If tmpfs is defined in the kernel, it will be used. +# +# Set this to yes if you do not want OpenRC to attempt to mount /dev. +# skip_mount_dev="NO" diff --git a/etc/conf.d/device-mapper b/etc/conf.d/device-mapper new file mode 100644 index 0000000..bc7a251 --- /dev/null +++ b/etc/conf.d/device-mapper @@ -0,0 +1 @@ +RC_AFTER="lvm" diff --git a/etc/conf.d/display-manager b/etc/conf.d/display-manager new file mode 100644 index 0000000..25d57e9 --- /dev/null +++ b/etc/conf.d/display-manager @@ -0,0 +1,13 @@ +# We always try and start the DM on a static VT. The various DMs normally +# default to using VT7. If you wish to use the display-manager init +# script, then you should ensure that the VT checked is the same VT your +# DM wants to use. +# We do this check to ensure that you haven't accidentally configured +# something to run on the VT in your /etc/inittab file so that +# you don't get a dead keyboard. +CHECKVT=7 + +# What display manager do you use ? +# [ xdm | greetd | gdm | sddm | gpe | lightdm | entrance ] +# NOTE: If this is set in /etc/rc.conf, that setting will override this one. +DISPLAYMANAGER="xdm" diff --git a/etc/conf.d/dmcrypt b/etc/conf.d/dmcrypt new file mode 100644 index 0000000..96c523e --- /dev/null +++ b/etc/conf.d/dmcrypt @@ -0,0 +1,112 @@ +# /etc/conf.d/dmcrypt + +# For people who run dmcrypt on top of some other layer (like raid), +# use rc_need to specify that requirement. See the runscript(8) man +# page for more information. + +#-------------------- +# Instructions +#-------------------- + +# Note regarding the syntax of this file. This file is *almost* bash, +# but each line is evaluated separately. Separate swaps/targets can be +# specified. The init-script which reads this file assumes that a +# swap= or target= line starts a new section, similar to lilo or grub +# configuration. + +# Note when using gpg keys and /usr on a separate partition, you will +# have to copy /usr/bin/gpg to /bin/gpg so that it will work properly +# and ensure that gpg has been compiled statically. +# See http://bugs.gentoo.org/90482 for more information. + +# Note that the init-script which reads this file detects whether your +# partition is LUKS or not. No mkfs is run unless you specify a makefs +# option. + +# Global options: +#---------------- + +# How long to wait for each timeout (in seconds). +dmcrypt_key_timeout=1 + +# Max number of checks to perform (see dmcrypt_key_timeout). +#dmcrypt_max_timeout=300 + +# Number of password retries. +dmcrypt_retries=5 + +# Arguments: +#----------- +# target= == Mapping name for partition. +# swap= == Mapping name for swap partition. +# source='' == Real device for partition. +# Note: You can (and should) specify a tag like UUID +# for blkid (see -t option). This is safer than using +# the full path to the device. +# key='[:]' == Fullpath from / or from inside removable media. +# remdev='' == Device that will be assigned to removable media. +# gpg_options='' == Default are --quiet --decrypt +# options='' == cryptsetup, for LUKS you can only use --readonly +# loop_file='' == Loopback file. +# Note: If you omit $source, then a free loopback will +# be looked up automatically. +# pre_mount='cmds' == commands to execute before mounting partition. +# post_mount='cmds' == commands to execute after mounting partition. +# wait=5 == wait given amount of seconds for source to appear +#----------- +# Supported Modes +# gpg == decrypt and pipe key into cryptsetup. +# Note: new-line character must not be part of key. +# Command to erase \n char: 'cat key | tr -d '\n' > cleanKey' + +#-------------------- +# dm-crypt examples +#-------------------- + +## swap +# Swap partitions. These should come first so that no keys make their +# way into unencrypted swap. +# If no options are given, they will default to: -c aes -h sha1 -d /dev/urandom +# If no makefs is given then mkswap will be assumed +#swap=crypt-swap +#source='/dev/hda2' + +## /home with passphrase +#target=crypt-home +#source='/dev/hda5' + +## /home with regular keyfile +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey' + +## /home with gpg protected key +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey:gpg' + +## /home with regular keyfile on removable media(such as usb-stick) +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey' +#remdev='/dev/sda1' + +## /home with gpg protected key on removable media(such as usb-stick) +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey:gpg' +#remdev='/dev/sda1' + +## /tmp with regular keyfile +#target=crypt-tmp +#source='/dev/hda6' +#key='/full/path/to/tmpkey' +#pre_mount='/sbin/mkreiserfs -f -f ${dev}' +#post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point}' + +## Loopback file example +#target='crypt-loop-home' +#source='/dev/loop0' +#loop_file='/mnt/crypt/home' + +# The file must be terminated by a newline. Or leave this comment last. diff --git a/etc/conf.d/dmesg b/etc/conf.d/dmesg new file mode 100644 index 0000000..cd4b8b3 --- /dev/null +++ b/etc/conf.d/dmesg @@ -0,0 +1,3 @@ +# Sets the level at which logging of messages is done to the +# console. See dmesg(1) for more info. +dmesg_level="1" diff --git a/etc/conf.d/earlyoom b/etc/conf.d/earlyoom new file mode 120000 index 0000000..f5e8c76 --- /dev/null +++ b/etc/conf.d/earlyoom @@ -0,0 +1 @@ +../default/earlyoom \ No newline at end of file diff --git a/etc/conf.d/elogind b/etc/conf.d/elogind new file mode 100644 index 0000000..716e145 --- /dev/null +++ b/etc/conf.d/elogind @@ -0,0 +1,7 @@ +# /etc/conf.d/elogind: config file for /etc/init.d/elogind + +# this is the elogind executable +ELOGIND_EXEC="/lib64/elogind/elogind" + +# this is where elogind will store its pid file +ELOGIND_PIDFILE="/run/elogind.pid" diff --git a/etc/conf.d/fancontrol b/etc/conf.d/fancontrol new file mode 100644 index 0000000..a716958 --- /dev/null +++ b/etc/conf.d/fancontrol @@ -0,0 +1,16 @@ +# /etc/conf.d/fancontrol + +# Configuration file +#FANCONTROL_CONFIGFILE="/etc/fancontrol" + +# You can use this configuration option to pass additional options to the +# start-stop-daemon, see start-stop-daemon(8) for more details. +# Per default we forces fancontrol into background and wait 1000ms after we +# have started the service to ensure that the daemon is really up and +# running. +#FANCONTROL_SSDARGS="--background --wait 1000" + +# The termination timeout (start-stop-daemon parameter "retry") ensures +# that the service will be terminated within a given time (60 + 5 seconds +# per default) when you are stopping the service. +#FANCONTROL_TERMTIMEOUT="TERM/60/KILL/5" diff --git a/etc/conf.d/fcron b/etc/conf.d/fcron new file mode 100644 index 0000000..ea907d8 --- /dev/null +++ b/etc/conf.d/fcron @@ -0,0 +1,7 @@ +# /etc/conf.d/fcron + +# Options to fcron +# See fcron(8) for more details +# Notes: +# * Do not specify another CONFIGFILE +#FCRON_OPTS="" diff --git a/etc/conf.d/fsck b/etc/conf.d/fsck new file mode 100644 index 0000000..30131ea --- /dev/null +++ b/etc/conf.d/fsck @@ -0,0 +1,40 @@ +# Pass any arguments to fsck. +# By default we preen. +# Linux systems also force -C0 and -T. +# If fsck_args is not specified then Linux systems also use -A +# (and -R if / is rw) +#fsck_args="-p" + +# We can also specify the passno in /etc/fstab to check +# If you multiplex fsck (ie ln -s fsck /etc/init.d/fsck.late) then you can +# do an fsck outside of the normal scope, say for /home. +# Here are some exampes:- +#fsck_passno="=1 =2" +#fsck_passno=">1" +#fsck_passno="<2" + +# If passno is not enough granularity, you can also specify mountpoints to +# check. This should NOT be used for the default non-multiplexed fsck, or your +# system might not be checked. Additionally, it is mutually exclusive with +# the fsck_passno setting. +#fsck_mnt="" +#fsck_mnt="/home" + +# Most modern fs's don't require a full fsck on boot, but for those that do +# it may be advisable to skip this when running on battery. +# WARNING: Do not turn this off if you have any JFS partitions. +fsck_on_battery="YES" + +# fsck_shutdown causes fsck to trigger during shutdown as well as startup. +# The end result of this is that if any periodic non-root filesystem checks are +# scheduled, under normal circumstances the actual check will happen during +# shutdown rather than at next boot. +# This is useful when periodic filesystem checks are causing undesirable +# delays at startup, but such delays at shutdown are acceptable. +fsck_shutdown="NO" + +# fsck_abort_on_errors can be set to no to cause fsck to not abort on +# errors. +# This is useful when periodic filesystem checks are causing undesirable +# aborts. +fsck_abort_on_errors="YES" diff --git a/etc/conf.d/git-daemon b/etc/conf.d/git-daemon new file mode 100644 index 0000000..69b209f --- /dev/null +++ b/etc/conf.d/git-daemon @@ -0,0 +1,19 @@ +# conf.d file for git-daemon +# +# Please check man 1 git-daemon for more information about the options +# git-daemon accepts. You MUST edit this to include your repositories you wish +# to serve. +# +# Some of the meaningful options are: +# --syslog --- Enables syslog logging +# --verbose --- Enables verbose logging +# --export-all --- Exports all repositories +# --port=XXXX --- Starts in port XXXX instead of 9418 +# +GITDAEMON_OPTS="--syslog --base-path=/var/git" + +# To run an anonymous git safely, the following user should be able to only +# read your Git repositories. It should not be able to write to anywhere on +# your system, esp. not the repositories. +GIT_USER="nobody" +GIT_GROUP="nobody" diff --git a/etc/conf.d/haveged b/etc/conf.d/haveged new file mode 100644 index 0000000..a8520a3 --- /dev/null +++ b/etc/conf.d/haveged @@ -0,0 +1,9 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +WATERMARK=1024 + +# -r0 is added always +HAVEGED_OPTS="-w ${WATERMARK} -v 1" + +# vim:ft=gentoo-conf-d: diff --git a/etc/conf.d/hdparm b/etc/conf.d/hdparm new file mode 100644 index 0000000..a1ae626 --- /dev/null +++ b/etc/conf.d/hdparm @@ -0,0 +1,26 @@ +# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm + +# +# Note that options such as -y which force *immediate* power saving options +# should generally not be placed here. The hdparm init.d script may run at +# anytime with respect to other init.d scripts that do system wide drive +# scans (like the hald script), so they will merely get spun right back up. +# If you wish to use these options, please use the local.start init.d script +# instead so that you're guaranteed that it will run last. +# + +# You can either set hdparm arguments for each drive using hdX_args, +# discX_args, cdromX_args and genericX_args, e.g. +# +# hda_args="-d1 -X66" +# disc1_args="-d1" +# cdrom0_args="-d1" + +# or you can set options for all PATA drives +pata_all_args="-d1" + +# or you can set options for all SATA drives +sata_all_args="" + +# or, you can set hdparm options for all drives +all_args="" diff --git a/etc/conf.d/hostname b/etc/conf.d/hostname new file mode 100644 index 0000000..1dd8a63 --- /dev/null +++ b/etc/conf.d/hostname @@ -0,0 +1,2 @@ +# Hostname fallback if /etc/hostname does not exist +hostname="olorin" diff --git a/etc/conf.d/hwclock b/etc/conf.d/hwclock new file mode 100644 index 0000000..77eb1aa --- /dev/null +++ b/etc/conf.d/hwclock @@ -0,0 +1,20 @@ +# Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as +# Greenwich Mean Time). If that clock is set to the local time, then +# set CLOCK to "local". Note that if you dual boot with Windows, then +# you should set it to "local". +clock="UTC" + +# If you want the hwclock script to set the system time (software clock) +# to match the current hardware clock during bootup, leave this +# commented out. +# However, you can set this to "NO" if you are running a modern kernel +# and using NTP to synchronize your system clock. +clock_hctosys="YES" + +# If you do not want to set the hardware clock to the current system +# time (software clock) during shutdown, set this to no. +clock_systohc="YES" + +# If you wish to pass any other arguments to hwclock during bootup, +# you may do so here. Alpha users may wish to use --arc or --srm here. +clock_args="" diff --git a/etc/conf.d/ip6tables b/etc/conf.d/ip6tables new file mode 100644 index 0000000..e608f41 --- /dev/null +++ b/etc/conf.d/ip6tables @@ -0,0 +1,27 @@ +# /etc/conf.d/ip6tables + +# Set wait option for xtables lock in seconds +# DEFAULT: 60 +#IPTABLES_LOCK_WAIT_TIME="60" + +# Set wait interval option for xtables lock in microseconds +# DEFAULT: 1000 +#IPTABLES_LOCK_WAIT_INTERVAL="1000" + +# Location in which ip6tables initscript will save set rules on +# service shutdown +IP6TABLES_SAVE="/var/lib/ip6tables/rules-save" + +# Options to pass to ip6tables-save and ip6tables-restore +SAVE_RESTORE_OPTIONS="-c" + +# Save state on stopping ip6tables +SAVE_ON_STOP="yes" + +# If you need to log ip6tables messages as soon as ip6tables starts, +# AND your logger does NOT depend on the network, then you may wish +# to uncomment the next line. +# If your logger depends on the network, and you uncomment this line +# you will create an unresolvable circular dependency during startup. +# After commenting or uncommenting this line, you must run 'rc-update -u'. +#rc_use="logger" diff --git a/etc/conf.d/iptables b/etc/conf.d/iptables new file mode 100644 index 0000000..d5055e0 --- /dev/null +++ b/etc/conf.d/iptables @@ -0,0 +1,27 @@ +# /etc/conf.d/iptables + +# Set wait option for xtables lock in seconds +# DEFAULT: 60 +#IPTABLES_LOCK_WAIT_TIME="60" + +# Set wait interval option for xtables lock in microseconds +# DEFAULT: 1000 +#IPTABLES_LOCK_WAIT_INTERVAL="1000" + +# Location in which iptables initscript will save set rules on +# service shutdown +IPTABLES_SAVE="/var/lib/iptables/rules-save" + +# Options to pass to iptables-save and iptables-restore +SAVE_RESTORE_OPTIONS="-c" + +# Save state on stopping iptables +SAVE_ON_STOP="yes" + +# If you need to log iptables messages as soon as iptables starts, +# AND your logger does NOT depend on the network, then you may wish +# to uncomment the next line. +# If your logger depends on the network, and you uncomment this line +# you will create an unresolvable circular dependency during startup. +# After commenting or uncommenting this line, you must run 'rc-update -u'. +#rc_use="logger" diff --git a/etc/conf.d/irqbalance b/etc/conf.d/irqbalance new file mode 100644 index 0000000..2761cfc --- /dev/null +++ b/etc/conf.d/irqbalance @@ -0,0 +1,19 @@ +# /etc/conf.d/irqbalance: config file for /etc/init.d/irqbalance + +# Additional options to pass to irqbalance itself. +IRQBALANCE_OPTS="" + +# These are envvars used by irqbalance itself, so make sure the "export" +# is retained. For more info, please see the irqbalance manpage. + +# Run irqbalance once and then exit +#export IRQBALANCE_ONESHOT="0" + +# Include debug messages in output +#export IRQBALANCE_DEBUG="0" + +# List of cpus to not include in balancing +#export IRQBALANCE_BANNED_CPUS="" + +# List of interrupts to not include in balancing +#export IRQBALANCE_BANNED_INTERRUPTS="" diff --git a/etc/conf.d/keymaps b/etc/conf.d/keymaps new file mode 100644 index 0000000..e454433 --- /dev/null +++ b/etc/conf.d/keymaps @@ -0,0 +1,23 @@ +# Use keymap to specify the default console keymap. There is a complete tree +# of keymaps in /usr/share/keymaps to choose from. +keymap="us" + +# Should we first load the 'windowkeys' console keymap? Most x86 users will +# say "yes" here. Note that non-x86 users should leave it as "no". +# Loading this keymap will enable VT switching (like ALT+Left/Right) +# using the special windows keys on the linux console. +windowkeys="YES" + +# The maps to load for extended keyboards. Most users will leave this as is. +extended_keymaps="" +#extended_keymaps="backspace keypad euro2" + +# Tell dumpkeys(1) to interpret character action codes to be +# from the specified character set. +# This only matters if you set unicode="yes" in /etc/rc.conf. +# For a list of valid sets, run `dumpkeys --help` +dumpkeys_charset="" + +# Some fonts map AltGr-E to the currency symbol instead of the Euro. +# To fix this, set to "yes" +fix_euro="NO" diff --git a/etc/conf.d/killprocs b/etc/conf.d/killprocs new file mode 100644 index 0000000..76a2bc9 --- /dev/null +++ b/etc/conf.d/killprocs @@ -0,0 +1,6 @@ +# If you wish to pass any options to kill_all during shutdown, +# you should do so here. +# +# The setting is called killall5_opts because the options here are meant +# to be identical to those you could pass to killall5. +killall5_opts="" diff --git a/etc/conf.d/lm_sensors b/etc/conf.d/lm_sensors new file mode 100644 index 0000000..bae2ea0 --- /dev/null +++ b/etc/conf.d/lm_sensors @@ -0,0 +1,4 @@ +# /etc/conf.d/lm_sensors + +# NOTE: +# For module loading please use /etc/modules-load.d/lm_sensors.conf diff --git a/etc/conf.d/localmount b/etc/conf.d/localmount new file mode 100644 index 0000000..25ca3cd --- /dev/null +++ b/etc/conf.d/localmount @@ -0,0 +1,10 @@ +# Stop the unmounting of certain points. +# This could be useful for some NFS related work. +#no_umounts="/dir1:/var/dir2" +# +# Mark certain mount points as critical. +# This contains a space separated list of mount points which should be +# considered critical. If one of these mount points cannot be mounted, +# localmount will fail. +# By default, this is empty. +#critical_mounts="/home /var" diff --git a/etc/conf.d/lvm b/etc/conf.d/lvm new file mode 100644 index 0000000..b29e170 --- /dev/null +++ b/etc/conf.d/lvm @@ -0,0 +1,9 @@ +# If LVM is built with udev, you must ensure udev is running first! +# Otherwise it will hang +rc_need="udev" + +# LVM should normally only be started after mdraid is available +# this is because LVM physical volumes are very often MD devices. +rc_after="mdraid" + +# vim: ft=gentoo-conf-d diff --git a/etc/conf.d/modules b/etc/conf.d/modules new file mode 100644 index 0000000..d13ff89 --- /dev/null +++ b/etc/conf.d/modules @@ -0,0 +1,22 @@ +# Linux users can define a list of modules for a specific kernel version, +# a released kernel version, a main kernel version or all kernel versions. +# The most specific versioned variable will take precedence. +# FreeBSD users can only use the modules="foo bar" setting. +#modules_2_6_23_gentoo_r5="ieee1394 ohci1394" +#modules_2_6_23="tun ieee1394" +#modules_2_6="tun" +#modules_2="ipv6" +#modules="ohci1394" + +# Linux users can give the modules some arguments if needed, per version +# if necessary. +# Again, the most specific versioned variable will take precedence. +# This is not supported on FreeBSD. +#module_ieee1394_args="debug" +#module_ieee1394_args_2_6_23_gentoo_r5="debug2" +#module_ieee1394_args_2_6_23="debug3" +#module_ieee1394_args_2_6="debug4" +#module_ieee1394_args_2="debug5" + +# You should consult your kernel documentation and configuration +# for a list of modules and their options. diff --git a/etc/conf.d/mtab b/etc/conf.d/mtab new file mode 100644 index 0000000..f58fad6 --- /dev/null +++ b/etc/conf.d/mtab @@ -0,0 +1,13 @@ +# As far as we are aware, there are no modern linux tools or use cases +# which require /etc/mtab to be a separate file from /proc/self/mounts, +# so this setting should be commented out. +# If it is set to yes, please comment it out and run this command: +# # rc-service mtab restart +# In the future, the mtab service will be removed since we are not aware +# of any need to manipulate /etc/mtab as a separate file from +# /proc/self/mounts. +# If you have a technical reason we should keep this support, please +# open an issue at https://github.com/openrc/openrc/issues and let us +# know about your situation. +# This setting controls whether /etc/mtab is a file or symbolic link. +# mtab_is_file=no diff --git a/etc/conf.d/net b/etc/conf.d/net new file mode 100644 index 0000000..4e33756 --- /dev/null +++ b/etc/conf.d/net @@ -0,0 +1,7 @@ +modules="!dhclient !dhcpcd udhcpc" + +modules_wlan0="!wireless iwd" +config_wlan0="dhcp" + +modules_eth0="!ifplugd netplug" +config_eth0="dhcp" diff --git a/etc/conf.d/net-online b/etc/conf.d/net-online new file mode 100644 index 0000000..9abe9ea --- /dev/null +++ b/etc/conf.d/net-online @@ -0,0 +1,18 @@ +# The interfaces setting controls which interfaces the net-online +# service considers in deciding whether the network is active. The +# default is all interfaces that support ethernet. +#interfaces="" + +# This setting controls whether a ping test is included in the test for +# network connectivity after all interfaces are active. +#include_ping_test=no + +# This setting is the host to attempt to ping if the above is yes. +# The default is google.com. +#ping_test_host=some.host.name + +# The timeout setting controls how long the net-online service waits +# for the network to be configured. +# The default is 120 seconds. +# if this is set to 0, the wait is infinite. +#timeout=120 diff --git a/etc/conf.d/netmount b/etc/conf.d/netmount new file mode 100644 index 0000000..e759adf --- /dev/null +++ b/etc/conf.d/netmount @@ -0,0 +1,47 @@ +# You will need to set the dependencies in the netmount script to match +# the network configuration tools you are using. This should be done in +# this file by following the examples below, and not by changing the +# service script itself. +# +# Each of these examples is meant to be used separately. So, for +# example, do not set rc_need to something like "net.eth0 dhcpcd". +# +# If you are using newnet and configuring your interfaces with static +# addresses with the network script, you should use this setting. +# +#rc_need="network" +# +# If you are using oldnet, you must list the specific net.* services you +# need. +# +# This example assumes all of your netmounts can be reached on +# eth0. +# +#rc_need="net.eth0" +# +# This example assumes some of your netmounts are on eth1 and some +# are on eth2. +# +#rc_need="net.eth1 net.eth2" +# +# If you are using a dynamic network management tool like +# NetworkManager, dhcpcd in standalone mode, wicd, badvpn-ncd, etc, to +# manage the network interfaces with the routes to your netmounts, you +# should list that tool. +# +#rc_need="NetworkManager" +#rc_need="dhcpcd" +#rc_need="wicd" +# +# The default setting is designed to be backward compatible with our +# current setup, but you are highly discouraged from using this. In +# other words, please change it to be more suited to your system. +# +rc_need="net" +# +# Mark certain mount points as critical. +# This contains aspace separated list of mount points which should be +# considered critical. If one of these mount points cannot be mounted, +# netmount will fail. +# By default, this is empty. +#critical_mounts="/home /var" diff --git a/etc/conf.d/nfs b/etc/conf.d/nfs new file mode 100644 index 0000000..9dc1405 --- /dev/null +++ b/etc/conf.d/nfs @@ -0,0 +1,38 @@ +# /etc/conf.d/nfs + +# If you wish to set the port numbers for lockd, +# please see /etc/sysctl.conf + +# Optional services to include in default `/etc/init.d/nfs start` +# For NFSv4 users, you'll want to add "rpc.idmapd" here. +NFS_NEEDED_SERVICES="" + +# Options to pass to rpc.nfsd +OPTS_RPC_NFSD="8" + +# Options to pass to rpc.mountd +# ex. OPTS_RPC_MOUNTD="-p 32767" +OPTS_RPC_MOUNTD="" + +# Options to pass to rpc.statd +# ex. OPTS_RPC_STATD="-p 32765 -o 32766" +OPTS_RPC_STATD="" + +# Options to pass to rpc.idmapd +OPTS_RPC_IDMAPD="" + +# Options to pass to rpc.gssd +OPTS_RPC_GSSD="" + +# Options to pass to rpc.svcgssd +OPTS_RPC_SVCGSSD="" + +# Options to pass to rpc.rquotad (requires sys-fs/quota) +OPTS_RPC_RQUOTAD="" + +# Timeout (in seconds) for exportfs +EXPORTFS_TIMEOUT=30 + +# Options to set in the nfsd filesystem (/proc/fs/nfsd/). +# Format is