Configure fstrim
This commit is contained in:
2
TODO
2
TODO
@@ -1,9 +1,7 @@
|
|||||||
install steam, wine and lib32 multilib #
|
install steam, wine and lib32 multilib #
|
||||||
basename opti ##
|
|
||||||
configure yazi #
|
configure yazi #
|
||||||
nvim bufferline colors #
|
nvim bufferline colors #
|
||||||
configure firefox hardening
|
configure firefox hardening
|
||||||
configure trim (fstrim and luks)
|
|
||||||
## Hyprland
|
## Hyprland
|
||||||
wofi
|
wofi
|
||||||
foot
|
foot
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ source ./scripts/functions
|
|||||||
|
|
||||||
### Global variables
|
### Global variables
|
||||||
_DIRNAME="$(pwd)"
|
_DIRNAME="$(pwd)"
|
||||||
_PACKAGES=(arc-gtk-theme chromium code curl discord dmenu dunst egl-wayland feh flameshot flatpak firefox htop hyprland i3lock i3-wm imagemagick kitty lxappearance mpv neofetch numlockx nwg-look otf-comicshanns-nerd papirus-icon-theme pavucontrol picom pipewire pipewire-jack pipewire-pulse rofi plocate polybar reflector remmina ttf-dejavu-nerd wget wireguard-tools xdg-desktop-portal xorg xorg-xinit)
|
_PACKAGES=(arc-gtk-theme chromium code curl discord dmenu dunst egl-wayland feh flameshot flatpak firefox fstrm htop hyprland i3lock i3-wm imagemagick kitty lxappearance mpv neofetch numlockx nwg-look otf-comicshanns-nerd papirus-icon-theme pavucontrol picom pipewire pipewire-jack pipewire-pulse rofi plocate polybar reflector remmina ttf-dejavu-nerd wget wireguard-tools xdg-desktop-portal xorg xorg-xinit)
|
||||||
|
|
||||||
### Configure pacman and install needeed packages
|
### Configure pacman and install needeed packages
|
||||||
_info "Configuring and updateing packages"
|
_info "Configuring and updateing packages"
|
||||||
@@ -40,6 +40,9 @@ done
|
|||||||
_info "Linking config files"
|
_info "Linking config files"
|
||||||
_msg "modprobe links"
|
_msg "modprobe links"
|
||||||
ln -sf "${_DIRNAME}/links/modprobe/blacklist.conf" /etc/modprobe.d/blacklist.conf
|
ln -sf "${_DIRNAME}/links/modprobe/blacklist.conf" /etc/modprobe.d/blacklist.conf
|
||||||
|
_msg "fstrim links"
|
||||||
|
'/etc/systemd/system/timers.target.wants/fstrim.timer' → '/usr/lib/systemd/system/fstrim.timer'.
|
||||||
|
ln -sf "/usr/lib/systemd/system/fstrim.timer" "/etc/systemd/system/timers.target.wants/fstrim.timer"
|
||||||
_msg "tty links"
|
_msg "tty links"
|
||||||
mkdir -p /etc/systemd/system/getty@tty1.service.d
|
mkdir -p /etc/systemd/system/getty@tty1.service.d
|
||||||
ln -sf "$_DIRNAME/links/tty/override.conf" /etc/systemd/system/getty@tty1.service.d/override.conf
|
ln -sf "$_DIRNAME/links/tty/override.conf" /etc/systemd/system/getty@tty1.service.d/override.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user