format all
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
{ config, pkgs, inputs, ... }: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
@@ -17,12 +23,10 @@
|
||||
save = 100000;
|
||||
};
|
||||
shellAliases = {
|
||||
# TODO: gifsicle -O3 --lossy=30 noita-20240328-191617-1612416266-00316616.gif -o noita-20240328-191617-1612416266.gif
|
||||
backupNoita =
|
||||
"cp -r ~/.local/share/Steam/steamapps/compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/* ~/synced/default/dont_remotebackup/noita_save";
|
||||
# TODO: gifsicle -O3 --lossy=30 noita-20240328-191617-1612416266-00316616.gif -o noita-20240328-191617-1612416266.gif
|
||||
backupNoita = "cp -r ~/.local/share/Steam/steamapps/compatdata/881100/pfx/drive_c/users/steamuser/AppData/LocalLow/Nolla_Games_Noita/* ~/synced/default/dont_remotebackup/noita_save";
|
||||
checkTime = "(cd ~/synced/work_drive/TS && nix run)";
|
||||
checkWaylandWindowsKDE =
|
||||
"qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole";
|
||||
checkWaylandWindowsKDE = "qdbus org.kde.KWin /KWin org.kde.KWin.showDebugConsole";
|
||||
collectGarbage = "nh clean all";
|
||||
edit = "cd ~/projects/github/nix-config && nvim .";
|
||||
ll = "ls -l";
|
||||
@@ -36,14 +40,10 @@
|
||||
dev = "nix-shell --run zsh";
|
||||
rmt = "trash put";
|
||||
bat = "bat -P --style plain";
|
||||
cdf =
|
||||
"cd $(fd --type d --exclude node_modules --exclude bin --exclude target --exclude .cache . | fzf)";
|
||||
cpu_performance =
|
||||
"echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor";
|
||||
cpu_powersave =
|
||||
"echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor";
|
||||
cpu_schedutil =
|
||||
"echo schedutil | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor";
|
||||
cdf = "cd $(fd --type d --exclude node_modules --exclude bin --exclude target --exclude .cache . | fzf)";
|
||||
cpu_performance = "echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor";
|
||||
cpu_powersave = "echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor";
|
||||
cpu_schedutil = "echo schedutil | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor";
|
||||
cpu_freq = ''watch -n 1 "cat /proc/cpuinfo | grep \"^[c]pu MHz\""'';
|
||||
gpu_monitor = "nvidia-smi dmon -s puct";
|
||||
nix-shell = "nix-shell --command zsh";
|
||||
|
||||
Reference in New Issue
Block a user