Compare commits

...

8 Commits

Author SHA1 Message Date
1178f54c45
Make nice even higher for compilation 2026-06-30 22:29:26 +02:00
cf58bf4959
Create ananicy.nix and put some extra rules in it
To make compilation not hurt everything else
2026-06-30 21:41:03 +02:00
3a495802b8
Revert nixpkgs update in lockfile 2026-06-30 20:18:00 +02:00
ed6326e1bc
Revert "Use master branch of nix-cachyos-kernel"
This reverts commit 1476fe57d6.
2026-06-30 20:10:24 +02:00
e5e98f50cc
Add another part in the configuration.nix comment 2026-06-30 20:09:16 +02:00
1476fe57d6
Use master branch of nix-cachyos-kernel
since it's updated more often & I'm building the kernel from source
2026-06-30 19:53:19 +02:00
881f4b8589
Update lockfile 2026-06-30 19:46:15 +02:00
a3d11b63f7
Use linux-cachyos-latest because rc isn't updated yet in nix-cachyos-kernel 2026-06-30 19:43:52 +02:00
5 changed files with 58 additions and 10 deletions

View File

@ -14,6 +14,10 @@
To make an ISO: (https://nixos.org/manual/nixos/stable/#sec-image-nixos-rebuild-build-image) To make an ISO: (https://nixos.org/manual/nixos/stable/#sec-image-nixos-rebuild-build-image)
sudo nixos-rebuild build-image --image-variant iso-installer sudo nixos-rebuild build-image --image-variant iso-installer
To make a clean update:
tput reset && sudo su - root
nix-collect-garbage && nix-collect-garbage -d && nixos-rebuild switch
*/ */
let let
nixtamal = import ./tamal { nixtamal = import ./tamal {
@ -63,6 +67,7 @@ in
./modules/networking.nix ./modules/networking.nix
./modules/mesa.nix ./modules/mesa.nix
./modules/audio.nix ./modules/audio.nix
./modules/ananicy.nix
# ISO installer building stuff: # ISO installer building stuff:
./ISO/iso.nix ./ISO/iso.nix

49
modules/ananicy.nix Normal file
View File

@ -0,0 +1,49 @@
{ pkgs, ... }:
{
services.ananicy = {
enable = true;
package = pkgs.ananicy-cpp;
rulesProvider = pkgs.ananicy-rules-cachyos;
extraTypes = [
{ type = "Compiler"; nice = 19; latency_nice = 19; }
];
extraRules = [
# C/C++ etc
{ name = "clang"; type = "Compiler"; }
{ name = "clang++"; type = "Compiler"; }
{ name = "cmake"; type = "Compiler"; }
{ name = "gcc"; type = "Compiler"; }
{ name = "g++"; type = "Compiler"; }
{ name = "make"; type = "Compiler"; }
# Go
{ name = "go"; type = "Compiler"; }
# Java
{ name = "java"; type = "Compiler"; }
{ name = "javac"; type = "Compiler"; }
# Rust
{ name = "cargo"; type = "Compiler"; }
{ name = "rustc"; type = "Compiler"; }
{ name = "rust-analyzer"; type = "Compiler"; }
# Linkers
{ name = "lld"; type = "Compiler"; }
{ name = "mold"; type = "Compiler"; }
{ name = "ld"; type = "Compiler"; }
{ name = "ld.bfd"; type = "Compiler"; }
{ name = "ld.mold"; type = "Compiler"; }
{ name = "ld.lld"; type = "Compiler"; }
{ name = "lto1-ltrans"; type = "Compiler"; }
# Build systems
{ name = "bazel"; type = "Compiler"; }
{ name = "ninja"; type = "Compiler"; }
{ name = "meson"; type = "Compiler"; }
];
};
}

View File

@ -39,7 +39,7 @@
boot.kernelPackages = ( boot.kernelPackages = (
pkgs.linuxKernel.packagesFor( pkgs.linuxKernel.packagesFor(
pkgs.cachyosKernels.linux-cachyos-rc.override { pkgs.cachyosKernels.linux-cachyos-latest.override {
bbr3 = true; bbr3 = true;
cpusched = "bore"; cpusched = "bore";
lto = if isLaptop then "thin" else "full"; lto = if isLaptop then "thin" else "full";

View File

@ -74,12 +74,6 @@ in
capSysNice = true; capSysNice = true;
}; };
services.ananicy = {
enable = true;
package = pkgs.ananicy-cpp;
rulesProvider = pkgs.ananicy-rules-cachyos;
};
services.flatpak.enable = true; services.flatpak.enable = true;
systemd.user.services.flatpak-repos = { systemd.user.services.flatpak-repos = {
after = [ "network.target" ]; after = [ "network.target" ];

View File

@ -6,7 +6,7 @@
,"catppuccin-godot":{"sn":"catppuccin-godot-src","kd":[0,{"ft":0,"ur":"https://raw.githubusercontent.com/catppuccin/godot/d8b72b679078f0103a5e5c1ef793c1d698a563b1/themes/Catppuccin%20Mocha.tet","ms":[]}],"ha":{"al":2,"vl":"blake3-WVY58qsBKJlGvir08RYlS+RcjdhFvXz+7YHVfEr6tes="},"fv":"d8b72b679078f0103a5e5c1ef793c1d698a563b1","ps":[]} ,"catppuccin-godot":{"sn":"catppuccin-godot-src","kd":[0,{"ft":0,"ur":"https://raw.githubusercontent.com/catppuccin/godot/d8b72b679078f0103a5e5c1ef793c1d698a563b1/themes/Catppuccin%20Mocha.tet","ms":[]}],"ha":{"al":2,"vl":"blake3-WVY58qsBKJlGvir08RYlS+RcjdhFvXz+7YHVfEr6tes="},"fv":"d8b72b679078f0103a5e5c1ef793c1d698a563b1","ps":[]}
,"dolphin-overlay":{"sn":"dolphin-overlay-src","kd":[1,{"ft":0,"ur":"https://github.com/rumboon/dolphin-overlay/archive/65dd612c8d72d4cf5cb0eb4d9188ed7a16a042dd.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-PCS3mMGsTYXadc/DDU/EQv2T/0YORMigwUP6NEeOJW4="},"fv":"65dd612c8d72d4cf5cb0eb4d9188ed7a16a042dd","ps":["kservice_fix"]} ,"dolphin-overlay":{"sn":"dolphin-overlay-src","kd":[1,{"ft":0,"ur":"https://github.com/rumboon/dolphin-overlay/archive/65dd612c8d72d4cf5cb0eb4d9188ed7a16a042dd.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-PCS3mMGsTYXadc/DDU/EQv2T/0YORMigwUP6NEeOJW4="},"fv":"65dd612c8d72d4cf5cb0eb4d9188ed7a16a042dd","ps":["kservice_fix"]}
,"flake-compat":{"sn":"flake-compat-src","kd":[1,{"ft":0,"ur":"https://github.com/NixOS/flake-compat/archive/5edf11c44bc78a0d334f6334cdaf7d60d732daab.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-MmtcMfj5QuWGiFGGOdUMcaS0MSNzyV8dNCcsrPQq+Gk="},"fv":"5edf11c44bc78a0d334f6334cdaf7d60d732daab","ps":[]} ,"flake-compat":{"sn":"flake-compat-src","kd":[1,{"ft":0,"ur":"https://github.com/NixOS/flake-compat/archive/5edf11c44bc78a0d334f6334cdaf7d60d732daab.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-MmtcMfj5QuWGiFGGOdUMcaS0MSNzyV8dNCcsrPQq+Gk="},"fv":"5edf11c44bc78a0d334f6334cdaf7d60d732daab","ps":[]}
,"home-manager":{"sn":"home-manager-src","kd":[1,{"ft":0,"ur":"https://github.com/nix-community/home-manager/archive/5d72a29fc36ac21adae6ae35568fe5ee6700850f.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-1ioXmPj4/b9KrtDqMOyxQvGjW32ir6lOqgMTBYJ9TSY="},"fv":"5d72a29fc36ac21adae6ae35568fe5ee6700850f","ps":[]} ,"home-manager":{"sn":"home-manager-src","kd":[1,{"ft":0,"ur":"https://github.com/nix-community/home-manager/archive/2a37d71bbe69e1522ddabf03a4cea0374958bdbe.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-ujsxMPdJD8MQKBIoz/xECRd4O7hDSj2dSWPPVFnaYhA="},"fv":"2a37d71bbe69e1522ddabf03a4cea0374958bdbe","ps":[]}
,"hypr-darkwindow":{"sn":"hypr-darkwindow-src","kd":[1,{"ft":0,"ur":"https://github.com/micha4w/Hypr-DarkWindow/archive/refs/tags/v0.55.4.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-prh51kFbHKZT0ZmWDlv3s/Mg+Mg/mYAIo3FxZ+UsVbo="},"fv":"5dcd175c540e9eef91550c97ed0798c6e0fdc31b90af9643e05cb5ba66c64f6a","ps":[]} ,"hypr-darkwindow":{"sn":"hypr-darkwindow-src","kd":[1,{"ft":0,"ur":"https://github.com/micha4w/Hypr-DarkWindow/archive/refs/tags/v0.55.4.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-prh51kFbHKZT0ZmWDlv3s/Mg+Mg/mYAIo3FxZ+UsVbo="},"fv":"5dcd175c540e9eef91550c97ed0798c6e0fdc31b90af9643e05cb5ba66c64f6a","ps":[]}
,"lact-patch":{"sn":"lact-patch-src","kd":[0,{"ft":0,"ur":"https://patch-diff.githubusercontent.com/raw/ilya-zlobintsev/LACT/pull/1080.patch","ms":[]}],"ha":{"al":2,"vl":"blake3-x+HU/32454H6ZHu2i3AkdPECt9Jj4vW0Ac2jTzjpUvk="},"fv":"W/735aa2b881ef2024d0d6fcb4d2d48dd4","ps":[]} ,"lact-patch":{"sn":"lact-patch-src","kd":[0,{"ft":0,"ur":"https://patch-diff.githubusercontent.com/raw/ilya-zlobintsev/LACT/pull/1080.patch","ms":[]}],"ha":{"al":2,"vl":"blake3-x+HU/32454H6ZHu2i3AkdPECt9Jj4vW0Ac2jTzjpUvk="},"fv":"W/735aa2b881ef2024d0d6fcb4d2d48dd4","ps":[]}
,"low_latency_layer-git":{"sn":"low_latency_layer-git-src","kd":[1,{"ft":0,"ur":"https://github.com/Korthos-Software/low_latency_layer/archive/3138b14ebd059cd540444771dd184fbf7ead2a12.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-eaek3w60syOHOmRNdCDBTQ+MZw4O9fDGbpirlyuUnoQ="},"fv":"3138b14ebd059cd540444771dd184fbf7ead2a12","ps":[]} ,"low_latency_layer-git":{"sn":"low_latency_layer-git-src","kd":[1,{"ft":0,"ur":"https://github.com/Korthos-Software/low_latency_layer/archive/3138b14ebd059cd540444771dd184fbf7ead2a12.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-eaek3w60syOHOmRNdCDBTQ+MZw4O9fDGbpirlyuUnoQ="},"fv":"3138b14ebd059cd540444771dd184fbf7ead2a12","ps":[]}
@ -15,8 +15,8 @@
,"mpv":{"sn":"mpv-src","kd":[1,{"ft":0,"ur":"https://github.com/mpv-player/mpv/archive/refs/tags/v0.41.0.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-4u9KCKKEvSoOSO/7oZGIpnuSGcFc2rVmcJfdpFzwc5w="},"fv":"e04638a4b4eac258e679673d2a4171bde3f6c41eacb7e3d860c9a435f07eb9da","ps":["mpv_buffers_fix"]} ,"mpv":{"sn":"mpv-src","kd":[1,{"ft":0,"ur":"https://github.com/mpv-player/mpv/archive/refs/tags/v0.41.0.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-4u9KCKKEvSoOSO/7oZGIpnuSGcFc2rVmcJfdpFzwc5w="},"fv":"e04638a4b4eac258e679673d2a4171bde3f6c41eacb7e3d860c9a435f07eb9da","ps":["mpv_buffers_fix"]}
,"nix-cachyos-kernel":{"sn":"nix-cachyos-kernel-src","kd":[1,{"ft":0,"ur":"https://github.com/xddxdd/nix-cachyos-kernel/archive/1740ec90e7b07730c212a3a1ff5e71af08a5270b.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-BvJTecgyIvVSPEdpDqSEItda8zAXxe9GGj2+U6djXu0="},"fv":"1740ec90e7b07730c212a3a1ff5e71af08a5270b","ps":[]} ,"nix-cachyos-kernel":{"sn":"nix-cachyos-kernel-src","kd":[1,{"ft":0,"ur":"https://github.com/xddxdd/nix-cachyos-kernel/archive/1740ec90e7b07730c212a3a1ff5e71af08a5270b.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-BvJTecgyIvVSPEdpDqSEItda8zAXxe9GGj2+U6djXu0="},"fv":"1740ec90e7b07730c212a3a1ff5e71af08a5270b","ps":[]}
,"nix-cachyos-settings":{"sn":"nix-cachyos-settings-src","kd":[1,{"ft":0,"ur":"https://github.com/Daaboulex/cachyos-settings-nix/archive/47b9da37ad59e3dd92ed2155b65ad9797e03d12f.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-6BiVCakwzVi/D+cu6xn7uGCJl7JhvhX62C/mPnZcaqc="},"fv":"47b9da37ad59e3dd92ed2155b65ad9797e03d12f","ps":["adios"]} ,"nix-cachyos-settings":{"sn":"nix-cachyos-settings-src","kd":[1,{"ft":0,"ur":"https://github.com/Daaboulex/cachyos-settings-nix/archive/47b9da37ad59e3dd92ed2155b65ad9797e03d12f.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-6BiVCakwzVi/D+cu6xn7uGCJl7JhvhX62C/mPnZcaqc="},"fv":"47b9da37ad59e3dd92ed2155b65ad9797e03d12f","ps":["adios"]}
,"nix-citizen":{"sn":"nix-citizen-src","kd":[1,{"ft":0,"ur":"https://github.com/LovingMelody/nix-citizen/archive/3c876ad82870bb9356dfed8a1cee18b29f0b8677.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-5IWZOegSeX9iz4ULI5yWTMjQ0poszrRklspdU0NFSn0="},"fv":"3c876ad82870bb9356dfed8a1cee18b29f0b8677","ps":[]} ,"nix-citizen":{"sn":"nix-citizen-src","kd":[1,{"ft":0,"ur":"https://github.com/LovingMelody/nix-citizen/archive/2b7812699df27c789cfa13048c7365f37918eeff.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-wsf7RiJVwHmFXYo/3QJu9jbTkOQNV6ioRCX1fOg4EaU="},"fv":"2b7812699df27c789cfa13048c7365f37918eeff","ps":[]}
,"nix-gaming":{"sn":"nix-gaming-src","kd":[1,{"ft":0,"ur":"https://github.com/fufexan/nix-gaming/archive/fb95c11a3f677cf20fdc25a0987c13e3e8ebaac0.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-pmsA6u4WQ6LEPFysvaBU2TL5OZxjmbtcGdEvqjweMPg="},"fv":"fb95c11a3f677cf20fdc25a0987c13e3e8ebaac0","ps":[]} ,"nix-gaming":{"sn":"nix-gaming-src","kd":[1,{"ft":0,"ur":"https://github.com/fufexan/nix-gaming/archive/9a593f382964e3daf30de77ef58b2829f52f65d3.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-0j3vu1QYIMJZCQeJAwWA0/lg+ASXghSCGK00KVVo0zM="},"fv":"9a593f382964e3daf30de77ef58b2829f52f65d3","ps":[]}
,"nix-spicetify":{"sn":"nix-spicetify-src","kd":[1,{"ft":0,"ur":"https://github.com/Gerg-L/spicetify-nix/archive/5ff9a6ca9dcbad7cccea2c97d30237468b16feda.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-lQKQP7nTCJ4Y+QHuMPDlLE9snuIOSKZ8kTpFt6vKJkM="},"fv":"5ff9a6ca9dcbad7cccea2c97d30237468b16feda","ps":[]} ,"nix-spicetify":{"sn":"nix-spicetify-src","kd":[1,{"ft":0,"ur":"https://github.com/Gerg-L/spicetify-nix/archive/5ff9a6ca9dcbad7cccea2c97d30237468b16feda.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-lQKQP7nTCJ4Y+QHuMPDlLE9snuIOSKZ8kTpFt6vKJkM="},"fv":"5ff9a6ca9dcbad7cccea2c97d30237468b16feda","ps":[]}
,"spotneotify":{"sn":"spotneotify-src","kd":[1,{"ft":0,"ur":"https://github.com/0lswitcher/spotneotify/archive/42a296482e28e6549baa5c31850ffafb7890a1a8.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-OgtK8Vh6JI2Y/iINgWU6URPPtpbGaNGSPXEoNWWH0lo="},"fv":"42a296482e28e6549baa5c31850ffafb7890a1a8","ps":[]} ,"spotneotify":{"sn":"spotneotify-src","kd":[1,{"ft":0,"ur":"https://github.com/0lswitcher/spotneotify/archive/42a296482e28e6549baa5c31850ffafb7890a1a8.tar.gz","ms":[]}],"ha":{"al":2,"vl":"blake3-OgtK8Vh6JI2Y/iINgWU6URPPtpbGaNGSPXEoNWWH0lo="},"fv":"42a296482e28e6549baa5c31850ffafb7890a1a8","ps":[]}
} }