mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 06:18:03 +03:00
fmt
This commit is contained in:
4 files changed
+36
-39
No files matched your search
@@ -5,8 +5,7 @@
|
||||
{
|
||||
xdg.configFile."easyeffects/output/hyperx.json".source = ./hyperx.json;
|
||||
xdg.configFile."easyeffects/input/hyperx.json".source = ./hyperx-mic.json;
|
||||
xdg.configFile."easyeffects/irs/HyperXCloudAS-48000Hz.wav".source =
|
||||
./HyperXCloudAS-48000Hz.wav;
|
||||
xdg.configFile."easyeffects/irs/HyperXCloudAS-48000Hz.wav".source = ./HyperXCloudAS-48000Hz.wav;
|
||||
|
||||
services.easyeffects = {
|
||||
enable = true;
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
height = null;
|
||||
depth = null;
|
||||
disks = [
|
||||
"/mnt/HDD/linuxdata"
|
||||
"/mnt/HDD/shared"
|
||||
];
|
||||
"/mnt/HDD/linuxdata"
|
||||
"/mnt/HDD/shared"
|
||||
];
|
||||
logo = null;
|
||||
logoDistro = null;
|
||||
extraConfig = "";
|
||||
|
||||
@@ -65,27 +65,30 @@
|
||||
'';
|
||||
};
|
||||
|
||||
panicInflate = pkgs.writers.writePython3Bin "drm-panic-inflate" {
|
||||
flakeIgnore = [ "E501" ];
|
||||
} ''
|
||||
import sys
|
||||
import zlib
|
||||
panicInflate =
|
||||
pkgs.writers.writePython3Bin "drm-panic-inflate"
|
||||
{
|
||||
flakeIgnore = [ "E501" ];
|
||||
}
|
||||
''
|
||||
import sys
|
||||
import zlib
|
||||
|
||||
data = sys.stdin.buffer.read()
|
||||
if not data:
|
||||
sys.exit("Could not read QR: try a clearer, straighter photo")
|
||||
data = sys.stdin.buffer.read()
|
||||
if not data:
|
||||
sys.exit("Could not read QR: try a clearer, straighter photo")
|
||||
|
||||
# Try raw deflate, then zlib-wrapped, then gzip.
|
||||
for wbits in (-15, 15, 47):
|
||||
try:
|
||||
sys.stdout.buffer.write(zlib.decompress(data, wbits))
|
||||
break
|
||||
except zlib.error:
|
||||
continue
|
||||
else:
|
||||
sys.stderr.write("warning: could not decompress, printing raw bytes\n")
|
||||
sys.stdout.buffer.write(data)
|
||||
'';
|
||||
# Try raw deflate, then zlib-wrapped, then gzip.
|
||||
for wbits in (-15, 15, 47):
|
||||
try:
|
||||
sys.stdout.buffer.write(zlib.decompress(data, wbits))
|
||||
break
|
||||
except zlib.error:
|
||||
continue
|
||||
else:
|
||||
sys.stderr.write("warning: could not decompress, printing raw bytes\n")
|
||||
sys.stdout.buffer.write(data)
|
||||
'';
|
||||
|
||||
drmPanicDecode = pkgs.writeShellApplication {
|
||||
name = "drm-panic-decode";
|
||||
@@ -130,7 +133,9 @@
|
||||
|
||||
"kernel.softlockup_panic" = 1;
|
||||
|
||||
"kernel.hung_task_panic" = 1;
|
||||
# Log blocked tasks, but do not reboot over them: a heavy build under
|
||||
# zram pressure can block a task past the timeout without being a hang.
|
||||
"kernel.hung_task_panic" = 0;
|
||||
|
||||
"kernel.hung_task_timeout_secs" = 300;
|
||||
|
||||
|
||||
@@ -16,23 +16,22 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
# apps
|
||||
onlyoffice-desktopeditors
|
||||
whatsapp-electron
|
||||
whatsapp-electron
|
||||
telegram-desktop
|
||||
prismlauncher
|
||||
prismlauncher
|
||||
moonlight-qt
|
||||
qbittorrent
|
||||
obs-studio
|
||||
localsend
|
||||
picotool
|
||||
sunshine
|
||||
spotify
|
||||
heroic
|
||||
spotify
|
||||
heroic
|
||||
loupe
|
||||
gimp
|
||||
wine
|
||||
|
||||
# file-manager
|
||||
# todo change file manager
|
||||
kdePackages.kdegraphics-thumbnailers
|
||||
kdePackages.plasma-integration
|
||||
kdePackages.breeze-icons
|
||||
@@ -47,17 +46,18 @@
|
||||
kdePackages.ark
|
||||
kdePackages.kio
|
||||
kdePackages.kdf
|
||||
nautilus
|
||||
|
||||
# utils
|
||||
poppler-utils
|
||||
wl-clipboard
|
||||
playerctl
|
||||
wf-recorder
|
||||
tesseract
|
||||
mpvpaper
|
||||
swappy
|
||||
slurp
|
||||
grim
|
||||
wev
|
||||
|
||||
# phone
|
||||
libimobiledevice
|
||||
@@ -77,7 +77,6 @@
|
||||
claude-code
|
||||
|
||||
# cli
|
||||
agenix-cli
|
||||
fastfetch
|
||||
tailscale
|
||||
trash-cli
|
||||
@@ -92,14 +91,12 @@
|
||||
zoxide
|
||||
rsync
|
||||
unzip
|
||||
kitty
|
||||
tree
|
||||
meld
|
||||
tldr
|
||||
perf
|
||||
file
|
||||
wget
|
||||
fish
|
||||
htop
|
||||
tmux
|
||||
btop
|
||||
@@ -138,12 +135,7 @@
|
||||
xar
|
||||
|
||||
# themes/icons
|
||||
whitesur-icon-theme
|
||||
whitesur-gtk-theme
|
||||
gnome-themes-extra
|
||||
whitesur-kde
|
||||
adwaita-qt6
|
||||
adwaita-qt
|
||||
|
||||
# langs
|
||||
alejandra
|
||||
@@ -193,6 +185,7 @@
|
||||
cava
|
||||
mpv
|
||||
|
||||
inputs.agenix.packages.${system}.default
|
||||
inputs.nix-alien.packages.${system}.nix-alien
|
||||
inputs.copetch.packages.${system}.default
|
||||
pkgs.qt6Packages.qtwebsockets
|
||||
|
||||
Reference in new issue
Block a user