summaryrefslogtreecommitdiff
path: root/cs/Gentoo/Userland.md
blob: d0e66092221ae5f71e5e4a93ef9ab31bd88407ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# 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]]

[[IBKR_setup]]

[[networkmanager]]
[[wpa_supplicant]]