1
0
Fork 0
This commit is contained in:
Alex Kotov 2023-07-02 10:42:28 +04:00
parent b10a3ddf38
commit 10043e1926
19 changed files with 222 additions and 126 deletions

123
README.md
View file

@ -5,54 +5,65 @@ Packages
#### Non-graphical
| Debian | Gentoo |
|--------------------------|-------------------------------|
| | `dev-util/ccache` |
| `bash-completion` | |
| `build-essential` | |
| `cmake` | `dev-util/cmake` |
| `curl` | `net-misc/curl` |
| `colordiff` | `app-misc/colordiff` |
| `cowsay` | `games-misc/cowsay` |
| `figlet` | `app-misc/figlet` |
| `fish` | `app-shells/fish` |
| `git` | `dev-vcs/git` |
| `git-lfs` | `dev-vcs/git-lfs` |
| `gnupg2` | `app-crypt/gnupg` |
| `gzip` | `app-arch/gzip` |
| `htop` | `sys-process/htop` |
| `less` | `sys-apps/less` |
| `libimage-exiftool-perl` | `media-libs/exiftool` |
| `lolcat` | |
| `meson` | `dev-util/meson` |
| `neofetch` | `app-misc/neofetch` |
| `ninja-build` | `dev-util/ninja` |
| `procps` | `sys-process/procps` |
| `psmisc` | `sys-process/psmisc` |
| `ranger` | `app-misc/ranger` |
| `sudo` | `app-admin/sudo` |
| `tmux` | `app-misc/tmux` |
| `toilet` | `app-misc/toilet` |
| `unzip` | `app-arch/unzip` |
| `vim` | `app-editors/vim` |
| `wget` | `net-misc/wget` |
| | `net-misc/zerotier` |
| `zip` | `app-arch/zip` |
| Debian | Gentoo |
|--------------------------|-------------------------------------|
| | `app-admin/sysklogd` |
| | `dev-util/ccache` |
| | `net-misc/chronyd` |
| | `net-misc/dhcpcd` |
| | `net-misc/zerotier` |
| | `sys-apps/mlocate` |
| | `sys-process/cronie` |
| `bash-completion` | |
| `build-essential` | |
| `cmake` | `dev-util/cmake` |
| `curl` | `net-misc/curl` |
| `colordiff` | `app-misc/colordiff` |
| `cowsay` | `games-misc/cowsay` |
| `figlet` | `app-misc/figlet` |
| `fish` | `app-shells/fish` |
| `git` | `dev-vcs/git` |
| `git-lfs` | `dev-vcs/git-lfs` |
| `gnupg2` | `app-crypt/gnupg` |
| `gzip` | `app-arch/gzip` |
| `htop` | `sys-process/htop` |
| `less` | `sys-apps/less` |
| `libimage-exiftool-perl` | `media-libs/exiftool` |
| `lolcat` | |
| `meson` | `dev-util/meson` |
| `neofetch` | `app-misc/neofetch` |
| `ninja-build` | `dev-util/ninja` |
| `procps` | `sys-process/procps` |
| `psmisc` | `sys-process/psmisc` |
| `ranger` | `app-misc/ranger` |
| `sudo` | `app-admin/sudo` |
| `tmux` | `app-misc/tmux` |
| `toilet` | `app-misc/toilet` |
| `unzip` | `app-arch/unzip` |
| `vim` | `app-editors/vim` |
| `wget` | `net-misc/wget` |
| `zip` | `app-arch/zip` |
#### Graphical
| Debian | Gentoo |
|--------------------------|-------------------------------|
| `chromium` | `www-client/chromium-bin` |
| `firefox` | `www-client/firefox-bin` |
| `keepassxc` | `app-admin/keepassxc` |
| `obs-studio` | `media-video/obs-studio` |
| `thunderbird` | `mail-client/thunderbird-bin` |
| `vlc` | `media-video/vlc` |
| | `net-im/discord` |
| | `net-im/element-desktop-bin` |
| | `net-im/slack` |
| | `net-im/telegram-desktop` |
| Debian | Gentoo |
|--------------------------|-------------------------------------|
| | `sys-apps/dbus` |
| | `sys-auth/elogind` |
| | `sys-auth/polkit` |
| | `sys-block/io-scheduler-udev-rules` |
| | `sys-fs/udev` |
| | `sys-fs/udisks` |
| `chromium` | `www-client/chromium` |
| `firefox` | `www-client/firefox-bin` |
| `keepassxc` | `app-admin/keepassxc` |
| `obs-studio` | `media-video/obs-studio` |
| `thunderbird` | `mail-client/thunderbird-bin` |
| `vlc` | `media-video/vlc` |
| | `net-im/discord` |
| | `net-im/element-desktop-bin` |
| | `net-im/slack` |
| | `net-im/telegram-desktop` |
### Distro-specific
@ -75,16 +86,26 @@ Other
### Gentoo
#### Non-graphical
```
rc-update add chronyd default
rc-update add cronie default
rc-update add dhcpcd default
rc-update add sysklogd default
```
#### Graphical
```
rc-update add chronyd default
rc-update add dbus default
rc-update add display-manager default
rc-update add elogind boot
rc-update add NetworkManager default
rc-update add sysklogd default
rc-update add udev sysinit
rc-update add dbus default
rc-update add elogind boot
rc-update add display-manager default
```
#### Alternatives
```
$ sudo eselect locale list
Available targets for the LANG variable:

53
common/etc/htoprc Normal file
View file

@ -0,0 +1,53 @@
htop_version=3.2.2
config_reader_min_version=3
fields=0 48 38 39 40 2 46 47 1
hide_kernel_threads=1
hide_userland_threads=0
hide_running_in_container=0
shadow_other_users=0
show_thread_names=0
show_program_path=1
highlight_base_name=0
highlight_deleted_exe=1
shadow_distribution_path_prefix=0
highlight_megabytes=1
highlight_threads=1
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=1
header_margin=0
screen_tabs=0
detailed_cpu_time=0
cpu_count_from_one=1
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=6
enable_mouse=1
delay=20
hide_function_bar=2
header_layout=two_50_50
column_meters_0=LeftCPUs2 Memory Swap
column_meter_modes_0=1 1 1
column_meters_1=RightCPUs2 Tasks LoadAverage Uptime
column_meter_modes_1=1 2 2 2
tree_view=1
sort_key=123
tree_sort_key=123
sort_direction=1
tree_sort_direction=1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM Command
.sort_key=COMM
.tree_sort_key=COMM
.tree_view=1
.tree_view_always_by_pid=0
.sort_direction=1
.tree_sort_direction=1
.all_branches_collapsed=0

View file

@ -1,3 +1,4 @@
install_file root root 644 '/etc/htoprc' common
install_file root root 644 '/etc/tmux.conf' common
echo
install_dir root root 755 '/etc/vim'
@ -22,14 +23,23 @@ echo
install_dir root root 755 '/etc/portage/env'
install_dir root root 755 '/etc/portage/package.accept_keywords'
install_dir root root 755 '/etc/portage/package.env'
install_dir root root 755 '/etc/portage/package.license'
install_dir root root 755 '/etc/portage/package.mask'
install_dir root root 755 '/etc/portage/package.use'
install_dir root root 755 '/etc/portage/repos.conf'
install_file root root 644 '/etc/portage/env/ccache.conf' gentoo
install_file root root 644 '/etc/portage/make.conf' gentoo
install_file root root 644 '/etc/portage/package.license' gentoo
install_file root root 644 '/etc/portage/package.accept_keywords/package.accept_keywords' gentoo
install_file root root 644 '/etc/portage/package.accept_keywords/misc' gentoo
install_file root root 644 '/etc/portage/package.env/ccache' gentoo
install_file root root 644 '/etc/portage/package.license/firmware' gentoo
install_file root root 644 '/etc/portage/package.license/media' gentoo
install_file root root 644 '/etc/portage/package.license/misc' gentoo
install_file root root 644 '/etc/portage/package.mask/bloat' gentoo
install_file root root 644 '/etc/portage/package.mask/toolchains' gentoo
install_file root root 644 '/etc/portage/package.use/desktop' gentoo
install_file root root 644 '/etc/portage/package.use/heavy_clients' gentoo
install_file root root 644 '/etc/portage/package.use/kernel' gentoo
install_file root root 644 '/etc/portage/package.use/toolchains' gentoo
install_file root root 644 '/etc/portage/package.use/zz-autounmask' gentoo
install_file root root 644 '/etc/portage/repos.conf/gentoo.conf' gentoo
fi

View file

@ -10,4 +10,4 @@ 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="lightdm"
DISPLAYMANAGER='lightdm'

View file

@ -1 +1 @@
XSESSION="Mate"
XSESSION='Mate'

View file

@ -1,38 +1,17 @@
USE="aac acl alsa
bash-completion bluetooth branding bzip2
cairo colord crypt
dbus djvu
elogind encode exif
ffmpeg flac fontconfig
gif gnome-keyring gstreamer gtk gzip
iconv icu idn imagemagick introspection ipv6
jpeg
libass libffi libnotify lm-sensors
matroska mp3 mp4 mpeg multilib
ncurses networkmanager nls
ogg opengl opus
pam pcre pdf perl png policykit pulseaudio
readline
sdl seccomp socks5 split-usr ssl svg
theora tiff truetype
udev udisks unicode upnp upower usb
vaapi vim-syntax vorbis
webp
X x264 xinerama xvid
zip zlib"
COMMON_FLAGS="-O2 -pipe"
COMMON_FLAGS="-pipe -O2 -march=native -mtune=native"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3"
GRUB_PLATFORMS="efi-64"
LC_MESSAGES="C"
LC_MESSAGES="C.utf8"
INPUT_DEVICES="libinput"
PYTHON_TARGETS="python3_10 python3_11 python3_12"
RUBY_TARGETS="ruby30 ruby31"
VIDEO_CARDS="vmware"
RUBY_TARGETS="ruby31"
VIDEO_CARDS="nouveau"
ACCEPT_LICENSE="-* @FREE"
EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
GENTOO_MIRRORS="https://gentoo-mirror.alexxy.name"
LINGUAS="en"
MAKEOPTS="-j8"
MAKEOPTS="-j12"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"

View file

@ -1,5 +1,4 @@
games-action/minecraft-launcher ~amd64
media-video/obs-studio ~amd64
net-im/element-desktop-bin ~amd64
net-im/slack ~amd64
net-misc/zerotier ~amd64

View file

@ -1,6 +0,0 @@
games-action/minecraft-launcher Mojang
media-fonts/font-bh-ttf bh-luxi
net-im/discord all-rights-reserved
net-im/slack all-rights-reserved
net-misc/zerotier BSL-1.1
sys-kernel/linux-firmware linux-fw-redistributable

View file

@ -0,0 +1,6 @@
# Proprietary firmware that my computer already includes,
# such as processor microcode.
# Updates may fix security issues.
sys-firmware/intel-microcode intel-ucode
sys-kernel/linux-firmware linux-fw-redistributable

View file

@ -0,0 +1,4 @@
# Proprietary media assets that are harmless:
# fonts, images, sounds, videos.
media-fonts/font-bh-ttf bh-luxi

View file

@ -0,0 +1,2 @@
games-action/minecraft-launcher Mojang
net-misc/zerotier BSL-1.1

View file

@ -0,0 +1 @@
net-libs/webkit-gtk

View file

@ -0,0 +1,4 @@
mate-base/mate base bluetooth extras notification themes -help
x11-base/xorg-server suid
x11-misc/lightdm gtk -gnome -qt5
x11-terms/gnome-terminal -gnome-shell -nautilus

View file

@ -0,0 +1,3 @@
mail-client/thunderbird system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx -system-png system-python-libs system-rnp system-webp
www-client/chromium system-av1 system-ffmpeg system-harfbuzz system-icu system-png
www-client/firefox system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx -system-png system-python-libs system-webp

View file

@ -0,0 +1,2 @@
sys-fs/lvm2 lvm
sys-kernel/gentoo-kernel-bin initramfs

View file

@ -1 +1,2 @@
dev-lang/rust-bin clippy rust-analyzer rust-src rustfmt
dev-util/ccache verify-sig

View file

@ -1,21 +1,22 @@
# required by app-shells/fish-3.4.0::gentoo
>=dev-libs/libpcre2-10.42-r1 pcre32
# required by x11-drivers/xf86-video-vmware-13.4.0::gentoo
# required by x11-base/xorg-drivers-21.1-r2::gentoo[video_cards_vmware]
# required by x11-base/xorg-server-21.1.8::gentoo[xorg]
>=media-libs/mesa-22.3.7-r1 xa
# required by www-client/firefox-102.12.0::gentoo[system-libvpx]
>=media-libs/libvpx-1.12.0-r1 postproc
# required by www-client/chromium-bin-109.0.5414.74::gentoo
>=sys-libs/zlib-1.2.13-r1 minizip
# required by dev-util/gtk-doc-1.33.2::gentoo[python_single_target_python3_10]
# required by mate-base/mate-desktop-1.26.0-r1::gentoo
# required by mate-base/mate-panel-1.26.0-r1::gentoo
# required by mate-base/mate-applets-1.26.0::gentoo
# required by mate-base/mate-applets-meta-1.26.0::gentoo
# required by mate-base/mate-1.26.0::gentoo[base]
>=dev-python/pygments-2.15.1 python_targets_python3_10
# required by media-sound/pulseaudio-daemon-16.1-r7::gentoo[alsa,alsa-plugin]
# required by media-libs/libpulse-16.1-r2::gentoo
# required by www-client/firefox-bin-114.0.2::gentoo[pulseaudio]
>=media-plugins/alsa-plugins-1.2.7.1-r1 pulseaudio
# required by net-im/telegram-desktop-4.8.1-r2::gentoo
>=media-video/ffmpeg-4.4.4-r2 vpx
>=media-video/ffmpeg-4.4.4-r2 opus vpx
# required by www-client/chromium-114.0.5735.198::gentoo
>=net-libs/nodejs-20.2.0 inspector
# required by www-client/chromium-114.0.5735.198::gentoo
>=sys-libs/zlib-1.2.13-r1 minizip
# required by x11-misc/openbox-menu-0.8.1::gentoo[icons]
>=x11-wm/openbox-3.6.1-r5 imlib

View file

@ -0,0 +1,19 @@
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /var/db/repos/gentoo
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
sync-rsync-verify-jobs = 1
sync-rsync-verify-metamanifest = yes
sync-rsync-verify-max-age = 24
sync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc
sync-openpgp-keyserver = hkps://keys.gentoo.org
sync-openpgp-key-refresh-retry-count = 40
sync-openpgp-key-refresh-retry-overall-timeout = 1200
sync-openpgp-key-refresh-retry-delay-exp-base = 2
sync-openpgp-key-refresh-retry-delay-max = 60
sync-openpgp-key-refresh-retry-delay-mult = 4
sync-webrsync-verify-signature = yes

View file

@ -4,8 +4,8 @@ app-admin/sysklogd
app-arch/unzip
app-arch/zip
app-crypt/gnupg
app-editors/nano
app-editors/vim
app-emulation/virtualbox-guest-additions
app-misc/colordiff
app-misc/figlet
app-misc/neofetch
@ -17,9 +17,10 @@ app-portage/genlop
app-portage/gentoolkit
app-portage/mirrorselect
app-shells/fish
dev-lang/python
dev-lang/ruby
dev-lang/rust-bin
dev-python/python-pam
dev-util/ccache
dev-util/cmake
dev-util/meson
dev-util/ninja
@ -27,47 +28,43 @@ dev-vcs/git
dev-vcs/git-lfs
games-action/minecraft-launcher
games-misc/cowsay
gnome-base/gnome-keyring
gnome-extra/nm-applet
gui-libs/gtk
mail-client/thunderbird-bin
mail-client/thunderbird
mate-base/mate
media-fonts/font-bh-ttf
media-fonts/fonts-meta
media-gfx/gnome-screenshot
media-gfx/imagemagick
media-libs/exiftool
media-sound/pulseaudio
media-video/ffmpeg
media-video/libva-utils
media-video/obs-studio
media-video/vlc
net-im/discord
net-im/element-desktop-bin
net-im/slack
net-im/telegram-desktop
net-libs/nodejs
net-misc/chrony
net-misc/curl
net-misc/networkmanager
net-misc/openssh
net-misc/zerotier
net-wireless/wpa_supplicant
sys-apps/dbus
sys-apps/mlocate
sys-auth/polkit
sys-auth/elogind
sys-block/io-scheduler-udev-rules
sys-block/parted
sys-boot/grub
sys-firmware/intel-microcode
sys-fs/cryptsetup
sys-fs/dosfstools
sys-fs/lvm2
sys-fs/udev
sys-fs/udisks
sys-kernel/dracut
sys-kernel/gentoo-kernel-bin
sys-kernel/installkernel-gentoo
sys-kernel/linux-firmware
sys-power/upower
sys-process/cronie
sys-process/htop
www-client/chromium-bin
www-client/firefox-bin
www-client/chromium
www-client/firefox
x11-base/xorg-server
x11-libs/libnotify
x11-misc/colord
x11-misc/lightdm
x11-themes/mate-icon-theme
x11-themes/mate-icon-theme-faenza
x11-themes/mate-themes