add beets

This commit is contained in:
2026-07-17 22:30:24 -04:00
parent 0f19a2b0b3
commit 92688f9585
5 changed files with 89 additions and 0 deletions
+24
View File
@@ -11,6 +11,7 @@
../../modules/site.nix
../../modules/gitea.nix
../../modules/navidrome.nix
../../modules/immich.nix
];
network.node = "desktop";
@@ -82,6 +83,29 @@
AllowSuspendThenHibernate = "no";
};
systemd.services.amdgpu-performance = {
description = "Force AMD GPU performance level to high";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
Type = "oneshot";
ExecStart = ''
${pkgs.bash}/bin/bash -c '
for gpu in /sys/class/drm/card*/device; do
if [ -f "$gpu/vendor" ] && [ "$(cat "$gpu/vendor")" = "0x1002" ]; then
echo high > "$gpu/power_dpm_force_performance_level"
fi
done
'
'';
};
};
environment.systemPackages = with pkgs; [
whipper
flac
];
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system.stateVersion = "26.05";
+4
View File
@@ -16,6 +16,10 @@
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [
"amdgpu.runpm=0"
];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/d7450680-7d53-4842-83c5-7fc32526dff1";
fsType = "ext4";