micronix: Remove unused files, I no longer use that software

This commit is contained in:
unixpup 2025-01-24 19:42:41 -03:00
commit 3892f6f79b
No known key found for this signature in database
9 changed files with 23 additions and 88 deletions

View file

@ -11,7 +11,6 @@
"kernel.perf_event_paranoid" = "-1"; "kernel.perf_event_paranoid" = "-1";
"kernel.printk" = "3 3 3 3"; "kernel.printk" = "3 3 3 3";
"kernel.sysrq" = "4"; "kernel.sysrq" = "4";
"kernel.unprivileged_bpf_disabled" = "1";
"kernel.yama.ptrace_scope" = "0"; "kernel.yama.ptrace_scope" = "0";
"net.core.bpf_jit_harden" = "2"; "net.core.bpf_jit_harden" = "2";
"net.ipv4.conf.all.accept_redirects" = "0"; "net.ipv4.conf.all.accept_redirects" = "0";

View file

@ -6,11 +6,9 @@
./fonts.nix ./fonts.nix
./sound.nix ./sound.nix
./ui.nix ./ui.nix
./searxng.nix
./energy.nix ./energy.nix
./ssh.nix ./ssh.nix
./networking.nix ./networking.nix
./steam.nix
]; ];
config = { config = {

View file

@ -5,7 +5,7 @@
TLP_ENABLE = 1; TLP_ENABLE = 1;
DISK_IDLE_SECS_ON_AC = 0; DISK_IDLE_SECS_ON_AC = 0;
DISK_IDLE_SECS_ON_BAT = 1; DISK_IDLE_SECS_ON_BAT = 0;
CPU_DRIVER_OPMODE_ON_AC = "active"; CPU_DRIVER_OPMODE_ON_AC = "active";
CPU_DRIVER_OPMODE_ON_BAT = "active"; CPU_DRIVER_OPMODE_ON_BAT = "active";
@ -24,7 +24,7 @@
PLATFORM_PROFILE_ON_AC = "performance"; PLATFORM_PROFILE_ON_AC = "performance";
PLATFORM_PROFILE_ON_BAT = "performance"; PLATFORM_PROFILE_ON_BAT = "performance";
DISK_DEVICES = "nvme0n1"; DISK_DEVICES = "nvme0";
DISK_APM_LEVEL_ON_AC = "255 255"; DISK_APM_LEVEL_ON_AC = "255 255";
DISK_APM_LEVEL_ON_BAT = "128 128"; DISK_APM_LEVEL_ON_BAT = "128 128";
@ -57,7 +57,7 @@
SOUND_POWER_SAVE_CONTROLLER = "N"; SOUND_POWER_SAVE_CONTROLLER = "N";
PCIE_ASPM_ON_AC = "performance"; PCIE_ASPM_ON_AC = "performance";
PCIE_ASPM_ON_BAT = "powersave"; PCIE_ASPM_ON_BAT = "performance";
RUNTIME_PM_ON_AC = "auto"; RUNTIME_PM_ON_AC = "auto";
RUNTIME_PM_ON_BAT = "auto"; RUNTIME_PM_ON_BAT = "auto";

View file

@ -13,10 +13,10 @@
}; };
nameservers = [ nameservers = [
"9.9.9.9#dns.quad9.net" "1.1.1.1#cloudflare-dns.com"
"149.112.112.112#dns.quad9.net" "1.0.0.1#cloudflare-dns.com"
"2620:fe::fe#dns.quad9.net" "2606:4700:4700::1111#cloudflare-dns.com"
"2620:fe::9#dns.quad9.net" "2606:4700:4700::1001#cloudflare-dns.com"
]; ];
firewall = { firewall = {
enable = true; enable = true;
@ -31,10 +31,10 @@
dnssec = "true"; dnssec = "true";
domains = ["~."]; domains = ["~."];
fallbackDns = [ fallbackDns = [
"9.9.9.9#dns.quad9.net" "1.1.1.1#cloudflare-dns.com"
"149.112.112.112#dns.quad9.net" "1.0.0.1#cloudflare-dns.com"
"2620:fe::fe#dns.quad9.net" "2606:4700:4700::1111#cloudflare-dns.com"
"2620:fe::9#dns.quad9.net" "2606:4700:4700::1001#cloudflare-dns.com"
]; ];
dnsovertls = "true"; dnsovertls = "true";
llmnr = "true"; llmnr = "true";

View file

@ -1,12 +0,0 @@
{...}: {
services.searx = {
enable = true;
redisCreateLocally = true;
settings.server = {
bind_address = "127.0.0.1";
port = 8192;
secret_key = "17869ed44904151e3df472ffc1ae9e8c674dec896672eeb85ce6a93a243a755ecc292f46854e7becc01154866589eb1df5142677bad19a17b16759e633e3b7b8"; # This is a locally running SearXNG instance so.
image_proxy = true;
};
};
}

View file

@ -36,12 +36,12 @@
}; };
"filter" = { "filter" = {
"properties" = { "properties" = {
"node.latency" = "1024/48000"; "node.latency" = "2048/192000";
}; };
}; };
"stream" = { "stream" = {
"properties" = { "properties" = {
"node.latency" = "1024/48000"; "node.latency" = "2048/192000";
"node.autoconnect" = true; "node.autoconnect" = true;
"resample.quality" = 14; "resample.quality" = 14;
"channelmix.normalize" = true; "channelmix.normalize" = true;
@ -79,12 +79,12 @@
}; };
"filter" = { "filter" = {
"properties" = { "properties" = {
"node.latency" = "1024/48000"; "node.latency" = "2048/192000";
}; };
}; };
"stream" = { "stream" = {
"properties" = { "properties" = {
"node.latency" = "1024/48000"; "node.latency" = "2048/192000";
"node.autoconnect" = true; "node.autoconnect" = true;
"resample.quality" = 14; "resample.quality" = 14;
"channelmix.normalize" = true; "channelmix.normalize" = true;
@ -99,7 +99,7 @@
]; ];
"actions" = { "actions" = {
"update-props" = { "update-props" = {
"node.latency" = "512/48000"; "node.latency" = "512/192000";
}; };
}; };
} }
@ -145,7 +145,7 @@
"rt.time.soft" = -1; "rt.time.soft" = -1;
"rt.time.hard" = -1; "rt.time.hard" = -1;
"uclamp.min" = 0; "uclamp.min" = 0;
"uclamp.max" = 1024; "uclamp.max" = 2048;
}; };
"flags" = ["ifexists" "nofail"]; "flags" = ["ifexists" "nofail"];
} }
@ -244,8 +244,8 @@
]; ];
"core.daemon" = true; "core.daemon" = true;
"core.name" = "pipewire-0"; "core.name" = "pipewire-0";
"default.clock.rate" = 48000; "default.clock.rate" = 192000;
"default.clock.allowed-rates" = [48000]; "default.clock.allowed-rates" = [192000];
"module.x11.bell" = true; "module.x11.bell" = true;
"module.access" = true; "module.access" = true;
"module.jackdbus-detect" = true; "module.jackdbus-detect" = true;
@ -259,7 +259,7 @@
]; ];
"actions" = { "actions" = {
"update-props" = { "update-props" = {
"default.clock.min-quantum" = 1024; "default.clock.min-quantum" = 2048;
}; };
}; };
} }
@ -285,7 +285,7 @@
"rt.time.soft" = -1; "rt.time.soft" = -1;
"rt.time.hard" = -1; "rt.time.hard" = -1;
"uclamp.min" = 0; "uclamp.min" = 0;
"uclamp.max" = 1024; "uclamp.max" = 2048;
}; };
"flags" = ["ifexists" "nofail"]; "flags" = ["ifexists" "nofail"];
} }

View file

@ -1,21 +0,0 @@
{pkgs, ...}: {
programs.steam = {
enable = true;
extraPackages = with pkgs; [
gamescope_git
latencyflex-vulkan
];
extraCompatPackages = with pkgs; [
proton-ge-custom
];
extest = {
enable = true;
};
protontricks = {
enable = true;
};
gamescopeSession = {
enable = true;
};
};
}

View file

@ -101,7 +101,7 @@
use-cgroups = true; use-cgroups = true;
}; };
boot.initrd.kernelModules = ["amdgpu"]; boot.initrd.kernelModules = ["amdgpu", "sha256", "sha512"];
# Processor settings for AMD # Processor settings for AMD
hardware.cpu.amd = { hardware.cpu.amd = {
@ -137,11 +137,6 @@
enable32Bit = true; enable32Bit = true;
}; };
chaotic = {
mesa-git.enable = true;
hdr.enable = true;
};
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
services.xserver.videoDrivers = ["amdgpu"]; services.xserver.videoDrivers = ["amdgpu"];

View file

@ -1,14 +1,12 @@
{pkgs, ...}: { {pkgs, ...}: {
alqueva.users.xmm = { alqueva.users.unix = {
shell = pkgs.zsh; shell = pkgs.zsh;
packages = builtins.attrValues { packages = builtins.attrValues {
inherit inherit
(pkgs) (pkgs)
wget2 wget2
fastfetch fastfetch
btop-rocm btop-rocm
emacs30-pgtk
kitty kitty
firefox_nightly firefox_nightly
ffmpeg-full ffmpeg-full
@ -29,13 +27,7 @@
pulseaudio pulseaudio
man-pages man-pages
man-pages-posix man-pages-posix
capitaine-cursors
xwayland-satellite xwayland-satellite
tinyxxd
furnace
adwaita-icon-theme
adwaita-icon-theme-legacy
morewaita-icon-theme
; ;
inherit inherit
(pkgs.nodePackages_latest) (pkgs.nodePackages_latest)
@ -69,23 +61,8 @@
]; ];
}; };
services.emacs = {
enable = true;
package = pkgs.emacs30-pgtk;
defaultEditor = true;
startWithGraphical = true;
};
services.flatpak.enable = true; services.flatpak.enable = true;
services.deluge = {
enable = true;
web = {
enable = true;
};
openFilesLimit = 16384;
};
documentation = { documentation = {
enable = true; enable = true;
dev = { dev = {
@ -128,7 +105,6 @@
shellAliases = { shellAliases = {
ll = "ls -l"; ll = "ls -l";
ed = "emacsclient -r";
update = "sudo nixos-rebuild switch --upgrade --upgrade-all"; update = "sudo nixos-rebuild switch --upgrade --upgrade-all";
nixdev = "cd $HOME/.config/nixos"; nixdev = "cd $HOME/.config/nixos";
}; };