Add yt-dlp

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2024-08-09 13:18:59 +03:00
parent 22e0150a65
commit 97a7256967
9 changed files with 72 additions and 20 deletions

View File

@@ -12,6 +12,7 @@
device = "/dev/disk/by-id/nvme-SAMSUNG_MZVL22T0HBLB-00BL2_S64RNE0R602762";
})
./hardware-configuration.nix
../../common/system/configs/tlp
../.
];
@@ -19,7 +20,13 @@
# https://github.com/NixOS/nixos-hardware/tree/master/lenovo/legion/16achg6
hardware = {
cpu.amd.updateMicrocode = true;
enableAllFirmware = true;
cpu = {
cores = 8;
threads = 16;
amd.updateMicrocode = true;
};
nvidia = {
modesetting.enable = true;
@@ -45,23 +52,12 @@
rocmPackages.clr.icd
];
};
enableAllFirmware = true;
};
services = {
xserver.videoDrivers = [ "nvidia" ];
fstrim.enable = true;
tlp = {
enable = true;
settings = {
DISK_DEVICES = "nvme0n1 nvme1n1";
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
};
};
tlp.settings.DISK_DEVICES = "nvme0n1 nvme1n1";
};
boot = {