repo: trim tailing whitespaces
This commit is contained in:
parent
995165f641
commit
760327c7ea
21 changed files with 40 additions and 40 deletions
|
@ -37,13 +37,13 @@
|
||||||
enableScriptingAddition = true;
|
enableScriptingAddition = true;
|
||||||
config = {
|
config = {
|
||||||
layout = "bsp";
|
layout = "bsp";
|
||||||
|
|
||||||
mouse_modifier = "fn";
|
mouse_modifier = "fn";
|
||||||
|
|
||||||
# very broken on slow cpu
|
# very broken on slow cpu
|
||||||
#focus_follows_mouse = "autoraise";
|
#focus_follows_mouse = "autoraise";
|
||||||
#mouse_follows_focus = "on";
|
#mouse_follows_focus = "on";
|
||||||
|
|
||||||
top_padding = 10;
|
top_padding = 10;
|
||||||
bottom_padding = 10;
|
bottom_padding = 10;
|
||||||
left_padding = 10;
|
left_padding = 10;
|
||||||
|
@ -72,11 +72,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
system.defaults = {
|
system.defaults = {
|
||||||
# Apple... Do I really have to change literally
|
# Apple... Do I really have to change literally
|
||||||
# every setting in macOS to make it actually usable.
|
# every setting in macOS to make it actually usable.
|
||||||
#
|
#
|
||||||
# Through this... you will see why I say macOS is a terriable mess.
|
# Through this... you will see why I say macOS is a terriable mess.
|
||||||
#
|
#
|
||||||
# NOTE: default of those options is `null` (unmanaged)
|
# NOTE: default of those options is `null` (unmanaged)
|
||||||
# https://github.com/mathiasbynens/dotfiles/blob/main/.macos for references
|
# https://github.com/mathiasbynens/dotfiles/blob/main/.macos for references
|
||||||
finder = {
|
finder = {
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
CreateDesktop = false;
|
CreateDesktop = false;
|
||||||
FXDefaultSearchScope = "SCcf"; # "SCcf" = Current folder
|
FXDefaultSearchScope = "SCcf"; # "SCcf" = Current folder
|
||||||
FXEnableExtensionChangeWarning = false;
|
FXEnableExtensionChangeWarning = false;
|
||||||
FXPreferredViewStyle = "Nlsv"; # "icnv" = Icon view, "Nlsv" = List view, "clmv" = Column View, "Flwv" = Gallery View
|
FXPreferredViewStyle = "Nlsv"; # "icnv" = Icon view, "Nlsv" = List view, "clmv" = Column View, "Flwv" = Gallery View
|
||||||
QuitMenuItem = true;
|
QuitMenuItem = true;
|
||||||
ShowPathbar = true;
|
ShowPathbar = true;
|
||||||
ShowStatusBar = false;
|
ShowStatusBar = false;
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
#AppleShowAllExtensions = true; # Dupelicate?
|
#AppleShowAllExtensions = true; # Dupelicate?
|
||||||
#AppleShowAllFiles = true;
|
#AppleShowAllFiles = true;
|
||||||
AppleShowScrollBars = "Always";
|
AppleShowScrollBars = "Always";
|
||||||
AppleTemperatureUnit = "Celsius"; # "null or one of "Celsius", "Fahrenheit""
|
AppleTemperatureUnit = "Celsius"; # "null or one of "Celsius", "Fahrenheit""
|
||||||
#AppleWindowTabbingMode # ?
|
#AppleWindowTabbingMode # ?
|
||||||
InitialKeyRepeat = 32;
|
InitialKeyRepeat = 32;
|
||||||
KeyRepeat = 2;
|
KeyRepeat = 2;
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
# please configure `networking.knownNetworkServices` in ../hosts/your-machine.nix
|
# please configure `networking.knownNetworkServices` in ../hosts/your-machine.nix
|
||||||
networking.dns = [
|
networking.dns = [
|
||||||
"223.5.5.5"
|
"223.5.5.5"
|
||||||
"223.6.6.6"
|
"223.6.6.6"
|
||||||
"2400:3200::1"
|
"2400:3200::1"
|
||||||
"2400:3200:baba::1"
|
"2400:3200:baba::1"
|
||||||
#"223.5.5.5#dns.alidns.com"
|
#"223.5.5.5#dns.alidns.com"
|
||||||
#"223.6.6.6#dns.alidns.com"
|
#"223.6.6.6#dns.alidns.com"
|
||||||
#"2400:3200::1#dns.alidns.com"
|
#"2400:3200::1#dns.alidns.com"
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
open = false;
|
open = false;
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
#dynamicboost.enable = true;
|
#dynamicboost.enable = true;
|
||||||
powerManagement = {
|
powerManagement = {
|
||||||
enable = true; # experimental power management feature
|
enable = true; # experimental power management feature
|
||||||
#finegrained = true;
|
#finegrained = true;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
# OpenGL
|
# OpenGL
|
||||||
{
|
{
|
||||||
hardware = {
|
hardware = {
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./boot.nix
|
./boot.nix
|
||||||
./kernel.nix
|
./kernel.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
networking = {
|
networking = {
|
||||||
nameservers = [
|
nameservers = [
|
||||||
"223.5.5.5"
|
"223.5.5.5"
|
||||||
"223.6.6.6"
|
"223.6.6.6"
|
||||||
"2400:3200::1"
|
"2400:3200::1"
|
||||||
"2400:3200:baba::1"
|
"2400:3200:baba::1"
|
||||||
#"223.5.5.5#dns.alidns.com"
|
#"223.5.5.5#dns.alidns.com"
|
||||||
#"223.6.6.6#dns.alidns.com"
|
#"223.6.6.6#dns.alidns.com"
|
||||||
#"2400:3200::1#dns.alidns.com"
|
#"2400:3200::1#dns.alidns.com"
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
#allowedTCPPorts = [ ... ];
|
#allowedTCPPorts = [ ... ];
|
||||||
#allowedUDPPorts = [ ... ];
|
#allowedUDPPorts = [ ... ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
# accidentally delete configuration.nix.
|
# accidentally delete configuration.nix.
|
||||||
|
|
||||||
# Does not work with flake based configurations
|
# Does not work with flake based configurations
|
||||||
#copySystemConfiguration = true;
|
#copySystemConfiguration = true;
|
||||||
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
layout = "us"; # keymap in x11
|
layout = "us"; # keymap in x11
|
||||||
libinput = {
|
libinput = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
settings = {
|
settings = {
|
||||||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||||||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||||||
|
|
||||||
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
|
||||||
CPU_ENERGY_PERF_POLICY_ON_BAT = "powersave";
|
CPU_ENERGY_PERF_POLICY_ON_BAT = "powersave";
|
||||||
|
|
||||||
CPU_MIN_PERF_ON_AC = 0;
|
CPU_MIN_PERF_ON_AC = 0;
|
||||||
CPU_MAX_PERF_ON_AC = 100;
|
CPU_MAX_PERF_ON_AC = 100;
|
||||||
CPU_MIN_PERF_ON_BAT = 0;
|
CPU_MIN_PERF_ON_BAT = 0;
|
||||||
|
|
|
@ -16,7 +16,7 @@ export XMODIFIERS=@im=@fcitx
|
||||||
export SDL_IM_MOODULE=fcitx
|
export SDL_IM_MOODULE=fcitx
|
||||||
export GLFW_IM_MODULE=ibus
|
export GLFW_IM_MODULE=ibus
|
||||||
|
|
||||||
export MOZ_ENABLE_XINPUT2=1
|
export MOZ_ENABLE_XINPUT2=1
|
||||||
#export QT_STYLE_OVERWRITE=Adwaita-dark
|
#export QT_STYLE_OVERWRITE=Adwaita-dark
|
||||||
#export GAMEMODERUNEXEC="env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_ONLY"
|
#export GAMEMODERUNEXEC="env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __VK_LAYER_NV_optimus=NVIDIA_ONLY"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Send a notification if the laptop battery is either low
|
# Send a notification if the laptop battery is either low
|
||||||
# or is fully charged.
|
# or is fully charged.
|
||||||
|
|
||||||
export DISPLAY=:0
|
export DISPLAY=:0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Dunst config
|
# Dunst config
|
||||||
# ~/.config/dunst/dunstrc
|
# ~/.config/dunst/dunstrc
|
||||||
# modified from https://github.com/end-4/dots-hyprland/blob/main/.config/dunst/dunstrc
|
# modified from https://github.com/end-4/dots-hyprland/blob/main/.config/dunst/dunstrc
|
||||||
#
|
#
|
||||||
|
|
|
@ -232,8 +232,8 @@
|
||||||
<family>Nimbus Sans</family>
|
<family>Nimbus Sans</family>
|
||||||
<family>Helvetica</family>
|
<family>Helvetica</family>
|
||||||
<family>Lucida Sans Unicode</family>
|
<family>Lucida Sans Unicode</family>
|
||||||
<family>BPG Glaho International</family>
|
<family>BPG Glaho International</family>
|
||||||
<family>Tahoma</family>
|
<family>Tahoma</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
<alias>
|
<alias>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
#exec-once = $HOME/.local/share/hyprload/hyprload.sh # hyprload
|
#exec-once = $HOME/.local/share/hyprload/hyprload.sh # hyprload
|
||||||
|
|
||||||
#exec-once = /usr/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
#exec-once = /usr/bin/dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
#exec-once = dbus-update-activation-environment --all
|
#exec-once = dbus-update-activation-environment --all
|
||||||
#exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # authentication prompt
|
#exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # authentication prompt
|
||||||
#exec-once = gnome-keyring-daemon --start --components=secrets # keyring
|
#exec-once = gnome-keyring-daemon --start --components=secrets # keyring
|
||||||
exec-once = swww init # wallpaper (not working on nixos somehow)
|
exec-once = swww init # wallpaper (not working on nixos somehow)
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
monitor = ,preferred, auto, 1
|
monitor = ,preferred, auto, 1
|
||||||
#monitor= ,addreserved, 28, 0, 0, 0 # eww bar
|
#monitor= ,addreserved, 28, 0, 0, 0 # eww bar
|
||||||
monitor = eDP-1, 1920x1080@60, 0x0, 1.25 # laptop screen eDP-1
|
monitor = eDP-1, 1920x1080@60, 0x0, 1.25 # laptop screen eDP-1
|
||||||
# Multi GPU
|
# Multi GPU
|
||||||
#env = WLR_DRM_DEVICES, /dev/dri/card1:/dev/dri/card0
|
#env = WLR_DRM_DEVICES, /dev/dri/card1:/dev/dri/card0
|
||||||
# General settings
|
# General settings
|
||||||
general {
|
general {
|
||||||
|
|
|
@ -50,7 +50,7 @@ gpu-shader-cache-dir='~~/shaders/cache' # https://mpv.io/manual/stable/#
|
||||||
|
|
||||||
# nnedi3
|
# nnedi3
|
||||||
# use nns128 instead of nns256 if you notice dropped frames
|
# use nns128 instead of nns256 if you notice dropped frames
|
||||||
# glsl-shader="~~/shaders/nnedi3-nns256-win8x4.hook" # Luma upscaler
|
# glsl-shader="~~/shaders/nnedi3-nns256-win8x4.hook" # Luma upscaler
|
||||||
# glsl-shader="~~/shaders/nnedi3-nns128-win8x4.hook" # Luma upscaler
|
# glsl-shader="~~/shaders/nnedi3-nns128-win8x4.hook" # Luma upscaler
|
||||||
# no-scaler-resizes-only # Fixing the pixel shift https://mpv.io/manual/stable/#options-scaler-resizes-only
|
# no-scaler-resizes-only # Fixing the pixel shift https://mpv.io/manual/stable/#options-scaler-resizes-only
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ gpu-shader-cache-dir='~~/shaders/cache' # https://mpv.io/manual/stable/#
|
||||||
|
|
||||||
# ========== DEBANDING ==========
|
# ========== DEBANDING ==========
|
||||||
|
|
||||||
# Banding is a visual artifact, visual artifacts should never be in a video.
|
# Banding is a visual artifact, visual artifacts should never be in a video.
|
||||||
# Example of banding: https://imgur.com/32d77H0
|
# Example of banding: https://imgur.com/32d77H0
|
||||||
# Debanding is the process of removing said banding.
|
# Debanding is the process of removing said banding.
|
||||||
# 6 minute explanation of what causes banding: https://www.youtube.com/watch?v=h9j89L8eQQk
|
# 6 minute explanation of what causes banding: https://www.youtube.com/watch?v=h9j89L8eQQk
|
||||||
|
@ -97,7 +97,7 @@ osc=no # Allows for custom OSC to be us
|
||||||
border=no # Optional for modern OSC, but recommended
|
border=no # Optional for modern OSC, but recommended
|
||||||
cursor-autohide-fs-only=yes # If this option is given, the cursor is always visible in windowed mode
|
cursor-autohide-fs-only=yes # If this option is given, the cursor is always visible in windowed mode
|
||||||
# In fullscreen mode, the cursor is shown or hidden according to --cursor-autohide
|
# In fullscreen mode, the cursor is shown or hidden according to --cursor-autohide
|
||||||
cursor-autohide=300 # Cursor hide in ms
|
cursor-autohide=300 # Cursor hide in ms
|
||||||
osd-level=1 # https://mpv.io/manual/stable/#options-osd-level
|
osd-level=1 # https://mpv.io/manual/stable/#options-osd-level
|
||||||
osd-duration=1000 # Set the duration of the OSD messages in ms
|
osd-duration=1000 # Set the duration of the OSD messages in ms
|
||||||
hr-seek=yes # Select when to use precise seeks that are not limited to keyframes
|
hr-seek=yes # Select when to use precise seeks that are not limited to keyframes
|
||||||
|
@ -137,7 +137,7 @@ demuxer-mkv-subtitle-preroll=yes # https://mpv.io/manual/stable/#
|
||||||
sub-ass-vsfilter-blur-compat=no # https://mpv.io/manual/stable/#options-sub-ass-vsfilter-aspect-compat
|
sub-ass-vsfilter-blur-compat=no # https://mpv.io/manual/stable/#options-sub-ass-vsfilter-aspect-compat
|
||||||
sub-fix-timing=no # https://mpv.io/manual/stable/#options-sub-fix-timing
|
sub-fix-timing=no # https://mpv.io/manual/stable/#options-sub-fix-timing
|
||||||
sub-auto=fuzzy # https://mpv.io/manual/stable/#options-no-sub-auto
|
sub-auto=fuzzy # https://mpv.io/manual/stable/#options-no-sub-auto
|
||||||
# Load all subs containing the media filename
|
# Load all subs containing the media filename
|
||||||
|
|
||||||
# The following options only apply to subtitles without own styling
|
# The following options only apply to subtitles without own styling
|
||||||
sub-font='Netflix Sans Medium' # Specify font to use for subtitles that do not themselves specify a particular font
|
sub-font='Netflix Sans Medium' # Specify font to use for subtitles that do not themselves specify a particular font
|
||||||
|
@ -243,5 +243,5 @@ screenshot-template="%f-%wH.%wM.%wS.%wT-#%#00n" # Name format (filen
|
||||||
|
|
||||||
# [Mini-Encode #4]
|
# [Mini-Encode #4]
|
||||||
# profile-desc=Mini Encode Anime 4
|
# profile-desc=Mini Encode Anime 4
|
||||||
# profile-cond=string.match(p.filename, "Ember")~=nil
|
# profile-cond=string.match(p.filename, "Ember")~=nil
|
||||||
# deband=yes
|
# deband=yes
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Waybar styles config
|
* Waybar styles config
|
||||||
* ~/.config/waybar/style.css
|
* ~/.config/waybar/style.css
|
||||||
* based on https://gitlab.com/fazzi/dotfiles
|
* based on https://gitlab.com/fazzi/dotfiles
|
||||||
* made for `waybar-hyprland`
|
* made for `waybar-hyprland`
|
||||||
* remember to download `JetBrainsMono Nerd Font` font,
|
* remember to download `JetBrainsMono Nerd Font` font,
|
||||||
* `sudo pacman -S ttf-jetbrains-mono-nerd` on Arch Linux
|
* `sudo pacman -S ttf-jetbrains-mono-nerd` on Arch Linux
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# changes in each release.
|
# changes in each release.
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.05";
|
||||||
|
|
||||||
shellAliases =
|
shellAliases =
|
||||||
let
|
let
|
||||||
proxy = "http://127.0.0.1:7890/";
|
proxy = "http://127.0.0.1:7890/";
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -8,7 +8,7 @@ in
|
||||||
{
|
{
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"clash-meta" = {
|
"clash-meta" = {
|
||||||
source = "${configPath}/clash";
|
source = "${configPath}/clash";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
"alacritty" = {
|
"alacritty" = {
|
||||||
|
@ -16,7 +16,7 @@ in
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
"fish" = {
|
"fish" = {
|
||||||
source = "${configPath}/fish";
|
source = "${configPath}/fish";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
"zsh/plugins" = {
|
"zsh/plugins" = {
|
||||||
|
|
|
@ -55,13 +55,13 @@
|
||||||
|
|
||||||
# replace outdated macOS components
|
# replace outdated macOS components
|
||||||
coreutils
|
coreutils
|
||||||
vim
|
vim
|
||||||
gnugrep
|
gnugrep
|
||||||
openssh
|
openssh
|
||||||
screen
|
screen
|
||||||
|
|
||||||
# LSP
|
# LSP
|
||||||
nixd
|
nixd
|
||||||
nil
|
nil
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue