summaryrefslogtreecommitdiff
path: root/Technology/Gentoo/Userland.md
diff options
context:
space:
mode:
Diffstat (limited to 'Technology/Gentoo/Userland.md')
-rw-r--r--Technology/Gentoo/Userland.md113
1 files changed, 113 insertions, 0 deletions
diff --git a/Technology/Gentoo/Userland.md b/Technology/Gentoo/Userland.md
new file mode 100644
index 0000000..5f14b21
--- /dev/null
+++ b/Technology/Gentoo/Userland.md
@@ -0,0 +1,113 @@
+# user setup
+
+vim /etc/conf.d/hostname
+
+useradd -m -G users,wheel,audio $USER
+passwd $USER
+
+rc-update add sshd default
+
+# setup sudo
+emerge app-admin/sudo
+
+# visudo
+nic ALL=(ALL:ALL) ALL
+nic ALL=NOPASSWD: ALL
+
+emerge sys-process/cronie
+sudo chmod o+rx /var/spool/cron
+crontab /etc/crontab
+crontab -e
+rc-update add cronie default
+
+# System time
+emerge net-misc/openntpd
+vim /etc/conf.d/ntpd
+/etc/init.d/ntpd start
+rc-update add ntpd default
+sudo ntpd
+
+emerge app-shells/zsh app-shells/zsh-completions app-shells/gentoo-zsh-completions app-shells/zsh-syntax-highlighting
+
+chsh -s /bin/zsh
+
+emerge media-fonts/joypixels app-eselect/eselect-fontconfig
+select fontconfig enable x
+
+USE = gtk emerge pinentry
+eselect pinentry set x
+vim .gnupg/.../agent.conf << pinentry-program /path/
+
+vim /etc/portage/repos.conf/palladian.conf
+emaint sync -r palladian
+
+# Dotfiles
+## deploy on new system
+echo ".g" >> .gitignore
+git clone --bare https://git.afu.re/dotfiles $HOME/.g
+alias g='/usr/bin/git --git-dir=$HOME/.g/ --work-tree=$HOME'
+g checkout # good if no error msg ? - what make things appen
+g config --local status.showUntrackedFiles no
+
+in .gitconfig
+>> [alias]
+ lg = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all -n 15
+
+app-editors/neovim
+eselect vi list
+
+
+# Desktop Software
+# setup xorg + env
+
+emerge -av x11-base/xorg-server x11-base/xorg-drivers
+env-update && source /etc/profile
+
+rc-update add dbus default
+rc-update add elogind default
+
+
+# accept_keywords
+emerge -av x11-wm/dwm x11-misc/dwmblocks x11-terms/st x11-misc/dmenu x11-misc/slock
+
+# Pam-gnupg setup
+# need same password for your gpg key and your user account.
+emerge pam-gnupg
+
+[[pam-gnupg config]]
+
+
+emerge -av app-office/calcurse app-misc/abook mail-client/mutt-wizard mail-client/neomutt \
+ media-sound/ncmpcpp media-sound/mpd media-sound/mpc \
+ media-video/mpv app-misc/lf media-gfx/nsxiv \
+ sci-visualization/visidata sys-process/htop-vim x11-misc/dunst \
+ net-misc/yt-dlp app-admin/pass www-plugins/passff-host \
+ x11-misc/xcape x11-apps/setxkbmap x11-misc/xwallpaper x11-misc/unclutter-xfixes x11-misc/xcompmgr
+
+
+
+
+@ media-video/ffmpeg + use flags
+
+[[pipewire]]
+
+[librewolf]
+priority = 50
+location = /var/db/repos/librewolf
+sync-type = git
+sync-uri = https://codeberg.org/librewolf/gentoo.git
+auto-sync = Yes
+>> /etc/portage/repos.conf/librewolf.conf
+
+emaint -r librewolf sync
+
+emerge librewolf
+curl -sSL github.com/passff/passff-host/releases/latest/download/install_host_app.sh | bash -s -- librewolf
+
+emerge qutebrowser
+touch ~/.local/share/qutebrowser/blocked-hosts
+
+[[IBKR_setup]]
+
+[[networkmanager]]
+[[wpa_supplicant]]