Removed unnecessary packages, added mpd as user service

This commit is contained in:
Lucien Cartier-Tilet 2020-03-25 13:03:57 +01:00
parent 2740248fce
commit af4fa210c7
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 73 additions and 66 deletions

View File

@ -66,40 +66,35 @@ else
end end
set PACKAGES \ set PACKAGES \
acpilight adobe-source-han-sans-jp-fonts asar ascii aspell-en aspell-fr assimp \ acpilight adobe-source-han-sans-jp-fonts asar ascii aspell-en aspell-fr \
awesome-terminal-fonts base-devel bat biber bleachbit bluez-firmware \ awesome-terminal-fonts base-devel bat biber bluez-firmware bluez-utils bookworm \
bluez-utils bookworm boost bzip2 ccls chicken chromium clisp compton cppcheck \ bzip2 ccls chicken chromium clisp compton cppcheck cppreference \
cppreference cppreference-devhelp cpupower cronie cryptsetup device-mapper \ cppreference-devhelp cpupower discord-canary discount dmenu-lpass docker \
diffutils discord-canary discount ditaa dmenu dmenu-lpass docker \ docker-compose dockerfile-language-server-bin doxygen dunst emacs \
docker-compose dockerfile-language-server-bin doxygen dunst dwarffortress \ emacs-org-mode exfat-utils farbfeld ffmpegthumbnailer findutils firefox flake8 \
emacs emacs-org-mode exfat-utils farbfeld feh ffmpegthumbnailer findutils \ freeglut fzf gcc-libs gdb gimp gnome-disk-utility gnome-epub-thumbnailer \
firefox flake8 font-mathematica fontforge freeglut fzf gcc-libs gdb gimp glibc \ gnu-free-fonts gnuplot go-tools golangci-lint-bin graphviz htop \
gnome-disk-utility gnome-epub-thumbnailer gnu-free-fonts gnuplot go-tools \ i3-gaps-rounded-git i3lock-blur igdm-bin inetutils j4-dmenu-desktop \
golangci-lint-bin graphviz htop i3-gaps-rounded-git i3lock-blur i3status \ javascript-typescript-langserver js-beautify jfsutils jmtpfs less \
igdm-bin inetutils j4-dmenu-desktop javascript-typescript-langserver \ linux-headers lldb logrotate lvm2 ly meson minted man-db man-pages mpc mpd \
js-beautify jfsutils jmtpfs lastpass-cli less linux-headers lldb logrotate \ mpd-rich-presence-discord-git mpv mupdf-tools nano ncdu ncmpcpp \
lvm2 ly meson minted man-db man-pages mpc mpd mpd-rich-presence-discord-git \ nemo-fileroller nemo-preview neofetch netctl networkmanager \
mpv mupdf-tools nano ncdu ncmpcpp nemo-fileroller nemo-preview neofetch netctl \ networkmanager-openvpn nm-connection-editor nodejs-vmd nomacs nordvpn-bin \
networkmanager networkmanager-openvpn nm-connection-editor nnn nodejs-vmd \ noto-fonts-emoji npm ntfs-3g numlockx openssh otf-fandol otf-ipafont p7zip \
nomacs nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx openssh otf-fandol \ pacman-contrib pandoc-bin pass pavucontrol pdfpc polybar powerline-fonts \
otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pciutils pcurses \ prettier pulseaudio-bluetooth python-autoflake python-envtpl-git python-epc \
pdfpc polybar powerline-fonts prettier pulseaudio-bluetooth python-autoflake \ python-importmagic python-language-server python-nose python-pip python-ptvsd \
python-envtpl-git python-epc python-importmagic python-language-server \ python-pytest python-pywal qt5-imageformats qemu r raw-thumbnailer reflector \
python-nose python-pip python-ptvsd python-pytest python-pywal \ rofi rsync rtv rustup samba scrot sent shadow siji-git simplescreenrecorder \
qt5-imageformats qemu r raw-thumbnailer redshift reflector rofi \ sshfs st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \
rofi-wifi-menu-git rsync rtv rustup s-nail samba scrot sent shadow siji-git \ texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \
simplescreenrecorder speedcrunch sshfs st-luke-git swi-prolog texlive-bin \
texlive-langchinese texlive-langcyrillic texlive-langgreek \
texlive-langjapanese texlive-langkorean texlive-latexextra \
texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \ texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \
ttf-bitstream-vera ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono \ ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels \
ttf-joypixels ttf-koruri ttf-liberation ttf-material-design-icons-git \ ttf-koruri ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine \
ttf-monapo ttf-mplus ttf-ms-fonts ttf-sazanami ttf-symbola ttf-tibetan-machine \ typescript typescript-language-server-bin unicode-emoji unrar usbutils \
ttf-twemoji-color ttf-unifont ttf-vlgothic typescript \ valgrind vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
typescript-language-server-bin unicode unicode-emoji unrar usbutils valgrind \ x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-apps xorg-drivers \
xorg-server xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf
printf "\n# Installing needed packages ##################################################\n\n" printf "\n# Installing needed packages ##################################################\n\n"
sudo pacman -Syu sudo pacman -Syu
@ -201,6 +196,10 @@ end
printf "\n# Enabling Emacs as user service ##############################################\n\n" printf "\n# Enabling Emacs as user service ##############################################\n\n"
systemctl --user enable --now emacs systemctl --user enable --now emacs
printf "\n# Enabling Mpd as a user service ##############################################\n\n"
mkdir -p ~/.config/mpd/playlists
systemctl --user enable --now mpd
read --prompt "echo 'Do you want to activate the ssh server? (Y/n): ' " -l sshdserver read --prompt "echo 'Do you want to activate the ssh server? (Y/n): ' " -l sshdserver
if test $sshdserver = 'y' || test $sshdserver = "Y" || test $sshdserver = '' if test $sshdserver = 'y' || test $sshdserver = "Y" || test $sshdserver = ''
printf "\n# Enabling ssh server #########################################################\n\n" printf "\n# Enabling ssh server #########################################################\n\n"

View File

@ -38,6 +38,7 @@
- [[#systemd-timesyncd][Systemd-timesyncd]] - [[#systemd-timesyncd][Systemd-timesyncd]]
- [[#docker][Docker]] - [[#docker][Docker]]
- [[#emacs][Emacs]] - [[#emacs][Emacs]]
- [[#mpd][Mpd]]
- [[#ssh-server][SSH server]] - [[#ssh-server][SSH server]]
- [[#ly][Ly]] - [[#ly][Ly]]
- [[#acpilight][Acpilight]] - [[#acpilight][Acpilight]]
@ -291,40 +292,35 @@
Lets set in a custom varible what packages well be needing. Lets set in a custom varible what packages well be needing.
#+BEGIN_SRC fish #+BEGIN_SRC fish
set PACKAGES \ set PACKAGES \
acpilight adobe-source-han-sans-jp-fonts asar ascii aspell-en aspell-fr assimp \ acpilight adobe-source-han-sans-jp-fonts asar ascii aspell-en aspell-fr \
awesome-terminal-fonts base-devel bat biber bleachbit bluez-firmware \ awesome-terminal-fonts base-devel bat biber bluez-firmware bluez-utils bookworm \
bluez-utils bookworm boost bzip2 ccls chicken chromium clisp compton cppcheck \ bzip2 ccls chicken chromium clisp compton cppcheck cppreference \
cppreference cppreference-devhelp cpupower cronie cryptsetup device-mapper \ cppreference-devhelp cpupower discord-canary discount dmenu-lpass docker \
diffutils discord-canary discount ditaa dmenu dmenu-lpass docker \ docker-compose dockerfile-language-server-bin doxygen dunst emacs \
docker-compose dockerfile-language-server-bin doxygen dunst dwarffortress \ emacs-org-mode exfat-utils farbfeld ffmpegthumbnailer findutils firefox flake8 \
emacs emacs-org-mode exfat-utils farbfeld feh ffmpegthumbnailer findutils \ freeglut fzf gcc-libs gdb gimp gnome-disk-utility gnome-epub-thumbnailer \
firefox flake8 font-mathematica fontforge freeglut fzf gcc-libs gdb gimp glibc \ gnu-free-fonts gnuplot go-tools golangci-lint-bin graphviz htop \
gnome-disk-utility gnome-epub-thumbnailer gnu-free-fonts gnuplot go-tools \ i3-gaps-rounded-git i3lock-blur igdm-bin inetutils j4-dmenu-desktop \
golangci-lint-bin graphviz htop i3-gaps-rounded-git i3lock-blur i3status \ javascript-typescript-langserver js-beautify jfsutils jmtpfs less \
igdm-bin inetutils j4-dmenu-desktop javascript-typescript-langserver \ linux-headers lldb logrotate lvm2 ly meson minted man-db man-pages mpc mpd \
js-beautify jfsutils jmtpfs lastpass-cli less linux-headers lldb logrotate \ mpd-rich-presence-discord-git mpv mupdf-tools nano ncdu ncmpcpp \
lvm2 ly meson minted man-db man-pages mpc mpd mpd-rich-presence-discord-git \ nemo-fileroller nemo-preview neofetch netctl networkmanager \
mpv mupdf-tools nano ncdu ncmpcpp nemo-fileroller nemo-preview neofetch netctl \ networkmanager-openvpn nm-connection-editor nodejs-vmd nomacs nordvpn-bin \
networkmanager networkmanager-openvpn nm-connection-editor nnn nodejs-vmd \ noto-fonts-emoji npm ntfs-3g numlockx openssh otf-fandol otf-ipafont p7zip \
nomacs nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx openssh otf-fandol \ pacman-contrib pandoc-bin pass pavucontrol pdfpc polybar powerline-fonts \
otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pciutils pcurses \ prettier pulseaudio-bluetooth python-autoflake python-envtpl-git python-epc \
pdfpc polybar powerline-fonts prettier pulseaudio-bluetooth python-autoflake \ python-importmagic python-language-server python-nose python-pip python-ptvsd \
python-envtpl-git python-epc python-importmagic python-language-server \ python-pytest python-pywal qt5-imageformats qemu r raw-thumbnailer reflector \
python-nose python-pip python-ptvsd python-pytest python-pywal \ rofi rsync rtv rustup samba scrot sent shadow siji-git simplescreenrecorder \
qt5-imageformats qemu r raw-thumbnailer redshift reflector rofi \ sshfs st-luke-git sxiv texlive-bin texlive-langchinese texlive-langcyrillic \
rofi-wifi-menu-git rsync rtv rustup s-nail samba scrot sent shadow siji-git \ texlive-langgreek texlive-langjapanese texlive-langkorean texlive-latexextra \
simplescreenrecorder speedcrunch sshfs st-luke-git swi-prolog texlive-bin \
texlive-langchinese texlive-langcyrillic texlive-langgreek \
texlive-langjapanese texlive-langkorean texlive-latexextra \
texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \ texlive-localmanager-git texlive-most tmux tree ttf-arphic-uming ttf-baekmuk \
ttf-bitstream-vera ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono \ ttf-dejavu ttf-google-fonts-opinionated-git ttf-hanazono ttf-joypixels \
ttf-joypixels ttf-koruri ttf-liberation ttf-material-design-icons-git \ ttf-koruri ttf-liberation ttf-monapo ttf-sazanami ttf-tibetan-machine \
ttf-monapo ttf-mplus ttf-ms-fonts ttf-sazanami ttf-symbola ttf-tibetan-machine \ typescript typescript-language-server-bin unicode-emoji unrar usbutils \
ttf-twemoji-color ttf-unifont ttf-vlgothic typescript \ valgrind vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \
typescript-language-server-bin unicode unicode-emoji unrar usbutils valgrind \ x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-drivers xorg-server \
vscode-css-languageserver-bin vscode-html-languageserver-bin w3m wget \ xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf
x11-ssh-askpass xclip xdg-user-dirs-gtk xfsprogs xorg-apps xorg-drivers \
xorg-server xorg-xinit xss-lock xvkbd yaml-language-server-bin yapf
#+END_SRC #+END_SRC
These are the minimum I would have in my own installation. You can edit it These are the minimum I would have in my own installation. You can edit it
@ -572,6 +568,18 @@
systemctl --user enable --now emacs systemctl --user enable --now emacs
#+END_SRC #+END_SRC
*** Mpd
:PROPERTIES:
:CUSTOM_ID: h-41a5957e-6aab-4165-8e61-3f99f958fe98
:END:
Mpd will also use as a user service in order to get rid of some lines of
code in my configuration.
#+BEGIN_SRC fish
printf "\n# Enabling Mpd as a user service ##############################################\n\n"
mkdir -p ~/.config/mpd/playlists
systemctl --user enable --now mpd
#+END_SRC
*** SSH server *** SSH server
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-1f355779-f1dc-4c0f-9cf1-14724ce05f4d :CUSTOM_ID: h-1f355779-f1dc-4c0f-9cf1-14724ce05f4d