Compare commits

..

No commits in common. "99a9adc4891447b87ac693af23c1883d666dc367" and "2de6fdb7be3024ff52a037a1aad788e69d04d785" have entirely different histories.

5 changed files with 11 additions and 28 deletions

View file

@ -23,7 +23,6 @@ in
imports = [ imports = [
(modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/installer/scan/not-detected.nix")
./partition.nix ./partition.nix
./undervolt.nix
]; ];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"nvme" "nvme"
@ -65,6 +64,16 @@ in
rocmPackages.rocm-smi rocmPackages.rocm-smi
]; ];
boot.kernelPackages = pkgs.linuxPackages_6_1;
programs.corectrl = {
enable = true;
gpuOverclock = {
enable = true;
ppfeaturemask = "0xffffffff";
};
};
fileSystems."/mnt/old" = { fileSystems."/mnt/old" = {
device = "/dev/disk/by-label/BTRFS_ROOT"; device = "/dev/disk/by-label/BTRFS_ROOT";
fsType = "btrfs"; fsType = "btrfs";

View file

@ -1,18 +0,0 @@
{ pkgs, ... }:
let
undervoltGpu = pkgs.writeShellScript "undervolt-gpu" ''
set -xe
cd $1
echo "manual" > power_dpm_force_performance_level
echo "1" > pp_power_profile_mode
test -e pp_od_clk_voltage
echo "vo -100" > pp_od_clk_voltage
echo "c" > pp_od_clk_voltage
'';
in
{
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xfffd7fff" ];
services.udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="hwmon", ATTR{name}=="amdgpu", ATTR{power1_cap}="186000000", RUN+="${undervoltGpu} %S%p/device"
'';
}

View file

@ -23,7 +23,6 @@ in
gimp gimp
inkscape inkscape
krita krita
kdePackages.breeze
kdePackages.kdenlive kdePackages.kdenlive
pitivi pitivi
blender-hip blender-hip

View file

@ -49,11 +49,6 @@ in
url = "https://github.com/OhMyGuus/I-Still-Dont-Care-About-Cookies/releases/download/v1.1.4/istilldontcareaboutcookies-1.1.4.xpi"; url = "https://github.com/OhMyGuus/I-Still-Dont-Care-About-Cookies/releases/download/v1.1.4/istilldontcareaboutcookies-1.1.4.xpi";
hash = "sha256-yt6yRiLTuaK4K/QwgkL9gCVGsSa7ndFOHqZvKqIGZ5U="; hash = "sha256-yt6yRiLTuaK4K/QwgkL9gCVGsSa7ndFOHqZvKqIGZ5U=";
}) })
(pkgs.fetchFirefoxAddon {
name = "github_no_more";
url = "https://addons.mozilla.org/firefox/downloads/file/4293306/github_no_more-0.0.1.xpi";
hash = "sha256-1vzgo7z4K6aZAVAo5VqihYQi77mZ0rE68xbt7Oqz29s=";
})
(pkgs.fetchFirefoxAddon { (pkgs.fetchFirefoxAddon {
name = "vimium_ff"; name = "vimium_ff";

View file

@ -48,11 +48,9 @@ lib.mkIf (desktop == "sway") {
gtk3 = shared; gtk3 = shared;
} }
); );
qt = { qt = {
enable = true; enable = true;
platformTheme.name = "gtk3"; platformTheme.name = "qtct";
style.name = "qt5ct";
}; };
dconf.settings = { dconf.settings = {