mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
misc
This commit is contained in:
1 parent
e73e6faf1e
commit
e71abc6c13
4 files changed
+2
-7
No files matched your search
@@ -6,7 +6,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
inputs.nixcord.homeModules.nixcord
|
inputs.nixcord.homeModules.nixcord
|
||||||
];
|
];
|
||||||
# could be change?
|
|
||||||
programs.nixcord = {
|
programs.nixcord = {
|
||||||
enable = true;
|
enable = true;
|
||||||
discord.silenceNoModClientWarning = true;
|
discord.silenceNoModClientWarning = true;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
flake.homeModules.home-jujutsu-watchman =
|
flake.homeModules.home-jujutsu-watchman =
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = [ pkgs.watchman ];
|
home.packages = [ pkgs.watchman ];
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
# system24 kemuri susu generated
|
# auto-generated
|
||||||
flake.homeModules.home-theme-discord =
|
flake.homeModules.home-theme-discord =
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
|
|||||||
@@ -77,8 +77,6 @@
|
|||||||
data = sys.stdin.buffer.read()
|
data = sys.stdin.buffer.read()
|
||||||
if not data:
|
if not data:
|
||||||
sys.exit("Could not read QR: try a clearer, straighter photo")
|
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):
|
for wbits in (-15, 15, 47):
|
||||||
try:
|
try:
|
||||||
sys.stdout.buffer.write(zlib.decompress(data, wbits))
|
sys.stdout.buffer.write(zlib.decompress(data, wbits))
|
||||||
@@ -133,8 +131,6 @@
|
|||||||
|
|
||||||
"kernel.softlockup_panic" = 1;
|
"kernel.softlockup_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_panic" = 0;
|
||||||
|
|
||||||
"kernel.hung_task_timeout_secs" = 300;
|
"kernel.hung_task_timeout_secs" = 300;
|
||||||
|
|||||||
Reference in new issue
Block a user