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
+38
-41
No files matched your search
@@ -5,12 +5,11 @@
|
|||||||
{
|
{
|
||||||
xdg.configFile."easyeffects/output/hyperx.json".source = ./hyperx.json;
|
xdg.configFile."easyeffects/output/hyperx.json".source = ./hyperx.json;
|
||||||
xdg.configFile."easyeffects/input/hyperx.json".source = ./hyperx-mic.json;
|
xdg.configFile."easyeffects/input/hyperx.json".source = ./hyperx-mic.json;
|
||||||
xdg.configFile."easyeffects/irs/HyperXCloudAS-48000Hz.wav".source =
|
xdg.configFile."easyeffects/irs/HyperXCloudAS-48000Hz.wav".source = ./HyperXCloudAS-48000Hz.wav;
|
||||||
./HyperXCloudAS-48000Hz.wav;
|
|
||||||
|
|
||||||
services.easyeffects = {
|
services.easyeffects = {
|
||||||
enable = true;
|
enable = true;
|
||||||
preset = "hyperx";
|
preset = "hyperx";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -38,9 +38,9 @@
|
|||||||
height = null;
|
height = null;
|
||||||
depth = null;
|
depth = null;
|
||||||
disks = [
|
disks = [
|
||||||
"/mnt/HDD/linuxdata"
|
"/mnt/HDD/linuxdata"
|
||||||
"/mnt/HDD/shared"
|
"/mnt/HDD/shared"
|
||||||
];
|
];
|
||||||
logo = null;
|
logo = null;
|
||||||
logoDistro = null;
|
logoDistro = null;
|
||||||
extraConfig = "";
|
extraConfig = "";
|
||||||
|
|||||||
@@ -64,28 +64,31 @@
|
|||||||
echo "test it: echo 'netconsole test' | sudo tee /dev/kmsg"
|
echo "test it: echo 'netconsole test' | sudo tee /dev/kmsg"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
panicInflate = pkgs.writers.writePython3Bin "drm-panic-inflate" {
|
|
||||||
flakeIgnore = [ "E501" ];
|
|
||||||
} ''
|
|
||||||
import sys
|
|
||||||
import zlib
|
|
||||||
|
|
||||||
data = sys.stdin.buffer.read()
|
panicInflate =
|
||||||
if not data:
|
pkgs.writers.writePython3Bin "drm-panic-inflate"
|
||||||
sys.exit("Could not read QR: try a clearer, straighter photo")
|
{
|
||||||
|
flakeIgnore = [ "E501" ];
|
||||||
|
}
|
||||||
|
''
|
||||||
|
import sys
|
||||||
|
import zlib
|
||||||
|
|
||||||
# Try raw deflate, then zlib-wrapped, then gzip.
|
data = sys.stdin.buffer.read()
|
||||||
for wbits in (-15, 15, 47):
|
if not data:
|
||||||
try:
|
sys.exit("Could not read QR: try a clearer, straighter photo")
|
||||||
sys.stdout.buffer.write(zlib.decompress(data, wbits))
|
|
||||||
break
|
# Try raw deflate, then zlib-wrapped, then gzip.
|
||||||
except zlib.error:
|
for wbits in (-15, 15, 47):
|
||||||
continue
|
try:
|
||||||
else:
|
sys.stdout.buffer.write(zlib.decompress(data, wbits))
|
||||||
sys.stderr.write("warning: could not decompress, printing raw bytes\n")
|
break
|
||||||
sys.stdout.buffer.write(data)
|
except zlib.error:
|
||||||
'';
|
continue
|
||||||
|
else:
|
||||||
|
sys.stderr.write("warning: could not decompress, printing raw bytes\n")
|
||||||
|
sys.stdout.buffer.write(data)
|
||||||
|
'';
|
||||||
|
|
||||||
drmPanicDecode = pkgs.writeShellApplication {
|
drmPanicDecode = pkgs.writeShellApplication {
|
||||||
name = "drm-panic-decode";
|
name = "drm-panic-decode";
|
||||||
@@ -130,7 +133,9 @@
|
|||||||
|
|
||||||
"kernel.softlockup_panic" = 1;
|
"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;
|
"kernel.hung_task_timeout_secs" = 300;
|
||||||
|
|
||||||
|
|||||||
@@ -16,23 +16,22 @@
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# apps
|
# apps
|
||||||
onlyoffice-desktopeditors
|
onlyoffice-desktopeditors
|
||||||
whatsapp-electron
|
whatsapp-electron
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
prismlauncher
|
prismlauncher
|
||||||
moonlight-qt
|
moonlight-qt
|
||||||
qbittorrent
|
qbittorrent
|
||||||
obs-studio
|
obs-studio
|
||||||
localsend
|
localsend
|
||||||
picotool
|
picotool
|
||||||
sunshine
|
sunshine
|
||||||
spotify
|
spotify
|
||||||
heroic
|
heroic
|
||||||
loupe
|
loupe
|
||||||
gimp
|
gimp
|
||||||
wine
|
wine
|
||||||
|
|
||||||
# file-manager
|
# file-manager
|
||||||
# todo change file manager
|
|
||||||
kdePackages.kdegraphics-thumbnailers
|
kdePackages.kdegraphics-thumbnailers
|
||||||
kdePackages.plasma-integration
|
kdePackages.plasma-integration
|
||||||
kdePackages.breeze-icons
|
kdePackages.breeze-icons
|
||||||
@@ -47,17 +46,18 @@
|
|||||||
kdePackages.ark
|
kdePackages.ark
|
||||||
kdePackages.kio
|
kdePackages.kio
|
||||||
kdePackages.kdf
|
kdePackages.kdf
|
||||||
nautilus
|
|
||||||
|
|
||||||
# utils
|
# utils
|
||||||
poppler-utils
|
poppler-utils
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
playerctl
|
||||||
wf-recorder
|
wf-recorder
|
||||||
tesseract
|
tesseract
|
||||||
mpvpaper
|
mpvpaper
|
||||||
swappy
|
swappy
|
||||||
slurp
|
slurp
|
||||||
grim
|
grim
|
||||||
|
wev
|
||||||
|
|
||||||
# phone
|
# phone
|
||||||
libimobiledevice
|
libimobiledevice
|
||||||
@@ -77,7 +77,6 @@
|
|||||||
claude-code
|
claude-code
|
||||||
|
|
||||||
# cli
|
# cli
|
||||||
agenix-cli
|
|
||||||
fastfetch
|
fastfetch
|
||||||
tailscale
|
tailscale
|
||||||
trash-cli
|
trash-cli
|
||||||
@@ -92,14 +91,12 @@
|
|||||||
zoxide
|
zoxide
|
||||||
rsync
|
rsync
|
||||||
unzip
|
unzip
|
||||||
kitty
|
|
||||||
tree
|
tree
|
||||||
meld
|
meld
|
||||||
tldr
|
tldr
|
||||||
perf
|
perf
|
||||||
file
|
file
|
||||||
wget
|
wget
|
||||||
fish
|
|
||||||
htop
|
htop
|
||||||
tmux
|
tmux
|
||||||
btop
|
btop
|
||||||
@@ -138,12 +135,7 @@
|
|||||||
xar
|
xar
|
||||||
|
|
||||||
# themes/icons
|
# themes/icons
|
||||||
whitesur-icon-theme
|
|
||||||
whitesur-gtk-theme
|
|
||||||
gnome-themes-extra
|
gnome-themes-extra
|
||||||
whitesur-kde
|
|
||||||
adwaita-qt6
|
|
||||||
adwaita-qt
|
|
||||||
|
|
||||||
# langs
|
# langs
|
||||||
alejandra
|
alejandra
|
||||||
@@ -193,6 +185,7 @@
|
|||||||
cava
|
cava
|
||||||
mpv
|
mpv
|
||||||
|
|
||||||
|
inputs.agenix.packages.${system}.default
|
||||||
inputs.nix-alien.packages.${system}.nix-alien
|
inputs.nix-alien.packages.${system}.nix-alien
|
||||||
inputs.copetch.packages.${system}.default
|
inputs.copetch.packages.${system}.default
|
||||||
pkgs.qt6Packages.qtwebsockets
|
pkgs.qt6Packages.qtwebsockets
|
||||||
|
|||||||
Reference in new issue
Block a user