nixos-configs/configurations/wim/hardware-configuration.nix

157 lines
3.3 KiB
Nix
Raw Permalink Normal View History

2023-11-22 15:33:16 -05:00
{
config,
modulesPath,
pkgs,
...
}: {
nixpkgs.hostPlatform = "x86_64-linux";
2023-11-22 15:33:16 -05:00
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
boot = {
kernelPackages = pkgs.linuxPackages_zen;
kernelParams = [
"amd_pstate=active"
];
kernelModules = ["amdgpu" "kvm-amd" "acpi_call"];
extraModulePackages = builtins.attrValues {
inherit
(config.boot.kernelPackages)
acpi_call
zenpower
;
};
blacklistedKernelModules = ["k10temp"];
2023-10-17 18:45:08 -04:00
initrd = {
2023-11-22 15:33:16 -05:00
availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "sd_mod"];
2023-10-15 17:40:57 -04:00
luks.devices."root" = {
device = "/dev/disk/by-uuid/ab82b477-2477-453f-b95f-28e5553ad10d";
};
};
2023-10-15 17:40:57 -04:00
loader = {
efi.canTouchEfiVariables = true;
2023-10-17 18:45:08 -04:00
2024-02-11 12:19:10 -05:00
systemd-boot = {
2023-10-15 17:40:57 -04:00
enable = true;
consoleMode = "max";
2024-02-11 12:19:10 -05:00
configurationLimit = 30;
2023-10-15 17:40:57 -04:00
};
};
# https://github.com/NixOS/nixpkgs/issues/254807#issuecomment-1722351771
swraid.enable = false;
2023-09-29 23:46:34 -04:00
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/6ae4d722-dacf-485a-8d29-b276f540dc91";
fsType = "btrfs";
};
# sudo btrfs subvolume create /@swap
"/swap" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "btrfs";
options = ["subvol=@swap"];
};
"/boot" = {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
};
2023-09-29 23:46:34 -04:00
};
swapDevices = [
{
device = "/swap/swapfile";
size = 16 * 1024;
}
];
zramSwap.enable = true;
hardware = {
cpu.amd.updateMicrocode = config.hardware.enableRedistributableFirmware;
uinput.enable = true;
sensor.iio.enable = true;
chore: update flake.lock Flake inputs: • Updated input 'Hyprspace': 'github:KZDKM/Hyprspace/2f3edb68f47a8f5d99d10b322e9a85a285f53cc7?narHash=sha256-iyj4D6c77uROAH9QdZjPd9SKnS/DuACMESqaEKnBgI8%3D' (2024-06-17) → 'github:KZDKM/Hyprspace/e8662093ae5b6e13a3cf1145d21d4804a3e84aeb?narHash=sha256-9aM4MCBJn4UstcsSdukOFTxg79keUMTw9Kmqr7Wsfmw%3D' (2024-07-09) • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/d01718cae1920c0304dba16c8a579d7e309dd91e?narHash=sha256-7BmikJsEItlCGd3ppAB6sn8EXNB08U4pRXttoSQGN0Q%3D' (2024-07-07) → 'github:matt1432/discord-nightly-overlay/012ca035ff0e7eb8d8663674645e00f8cea5757e?narHash=sha256-A1gms/3YZLz%2B6E2RQoR/aCRApz6imSy9KOlct8QY1hs%3D' (2024-07-09) • Updated input 'home-manager': 'github:nix-community/home-manager/6b7ce96f34b324e4e104abc30d06955d216bac71?narHash=sha256-kAsg3Lg4YKKpGw%2Bf1W2s5hzjP8B0y/juowvjK8utIag%3D' (2024-07-07) → 'github:nix-community/home-manager/2fb5c1e0a17bc6059fa09dc411a43d75f35bb192?narHash=sha256-7ftA4Bv5KfH4QdTRxqe8/Hz2YTKo%2B7IQ9n7vbNWgv28%3D' (2024-07-08) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=22138ac259b2f4253be29311f6b60fbd675074b4&submodules=1' (2024-07-07) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=b03f41efec14273cf25c42d4cef326acc36cb319&submodules=1' (2024-07-08) • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor/66d5b46ff94efbfa6fa3d1d1b66735f1779c34a6?narHash=sha256-jpsns6buS4bK%2B1sF8sL8AaixAiCRjA%2BnldTKvcwmvUs%3D' (2024-06-15) → 'github:hyprwm/hyprcursor/a5c0d57325c5f0814c39110a70ca19c070ae9486?narHash=sha256-AxRkTJlbB8r7aG6gvc7IaLhc2T9TO4/8uqanKRxukBQ%3D' (2024-07-04) • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/ec6938c66253429192274d612912649a0cfe4d28?narHash=sha256-XeeVoKHQgfKuXoP6q90sUqKyl7EYy3ol2dVZGM%2BJj94%3D' (2024-06-08) → 'github:hyprwm/hyprlang/5df0174fd09de4ac5475233d65ffc703e89b82eb?narHash=sha256-lyC/EZdHULsaAKVryK11lgHY9u6pXr7qR4irnxNWC7k%3D' (2024-07-07) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/1f6bbec5954f623ff8d68e567bddcce97cd2f085?narHash=sha256-dmRz128j/lJmMuTYeCYPfSBRHHQO3VeH4PbmoyAhHzw%3D' (2024-06-25) → 'github:hyprwm/hyprutils/a8c3a135701a7b64db0a88ec353a392f402d2a87?narHash=sha256-lq2dPPPcwMHTLsFrQ2pRp4c2LwDZWoqzSyjuPdeJCP4%3D' (2024-07-05) • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner/914f083741e694092ee60a39d31f693d0a6dc734?narHash=sha256-mAnZG/eQy72Fp1ImGtqCgUrDumnR1rMZv2E/zgP4U74%3D' (2024-06-22) → 'github:hyprwm/hyprwayland-scanner/d5fa094ca27e0039be5e94c0a80ae433145af8bb?narHash=sha256-JPdL%2BQul%2BjEueAn8CARfcWP83eJgwkhMejQYfDvrgvU%3D' (2024-07-05) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/c7894aa54f9a7dbd16df5cd24d420c8af22d5623?narHash=sha256-FWW68AVYmB91ZDQnhLMBNCUUTCjb1ZpO2k2KIytHtkA%3D' (2024-06-17) → 'github:hyprwm/xdg-desktop-portal-hyprland/b9b97e5ba23fe7bd5fa4df54696102e8aa863cf6?narHash=sha256-Rizg9efi6ue95zOp0MeIV2ZedNo%2B5U9G2l6yirgBUnA%3D' (2024-07-05) • Updated input 'hyprland/xdph/hyprland-protocols': 'github:hyprwm/hyprland-protocols/e06482e0e611130cd1929f75e8c1cf679e57d161?narHash=sha256-vbLVOWvQqo4n1yvkg/Q70VTlPbMmTiCQfNTgcWDCfJM%3D' (2024-05-05) → 'github:hyprwm/hyprland-protocols/1b61f0093afff20ab44d88ad707aed8bf2215290?narHash=sha256-HUklK5u86w2Yh9dOkk4FdsL8eehcOZ95jPhLixGDRQY%3D' (2024-06-18) • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS/fdcaab38857f221eea20a0073f891feb36ea8e99?narHash=sha256-KqGnYAKWxwRgWxc/78HbL3PHeuDJOSS/9%2BPkm5doUk8%3D' (2024-07-05) → 'github:Jovian-Experiments/Jovian-NixOS/5d1928b925da7390eae3e369e6808d64cf916ed7?narHash=sha256-rw8s4EsRSVtlAGNd5ttO4Ynb/eq0rMJsqG9zyREK3sk%3D' (2024-07-08) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/9822e0611d49ae70278ac20c9d7b68e4797b2fab?narHash=sha256-ihHXj%2Bfp/BVpc86rCNN%2BQbnpg6OrbeI%2Bjxz6VRyzcy0%3D' (2024-07-06) → 'github:nix-community/neovim-nightly-overlay/b6b51915180e6d2eac488d6f882e4ba36bad380d?narHash=sha256-IG/g4l/W0R2M/jxEyu/Sl3BmR/OK5D1jiahpc0wlpvE%3D' (2024-07-09) • Updated input 'neovim-nightly/git-hooks': 'github:cachix/git-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07?narHash=sha256-F1h%2BXIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4%3D' (2024-06-24) → 'github:cachix/git-hooks.nix/2b6bd3c87d3a66fb0b8f2f06c985995e04b4fb96?narHash=sha256-1in42htN3g3MnE3/AO5Qgs6pMWUzmtPQ7s675brO8uw%3D' (2024-07-08) • Updated input 'neovim-nightly/neovim-src': 'github:neovim/neovim/3c53e8f78511d6db9a6c804e5a479ba38c33102d?narHash=sha256-9tiW0rkQZGhnNaIP6gWj7N/iTlCLFdD5r37R1jVOs3s%3D' (2024-07-05) → 'github:neovim/neovim/fb6c059dc55c8d594102937be4dd70f5ff51614a?narHash=sha256-66u%2Byzjk6NrFr2jj2svD3jwNX8P2B8/DNH9A51V4kh8%3D' (2024-07-08) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6?narHash=sha256-rwz8NJZV%2B387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ%3D' (2024-07-03) → 'github:NixOS/nixpkgs/655a58a72a6601292512670343087c2d75d859c1?narHash=sha256-cPJoFPXU44GlhWg4pUk9oUPqurPlCFZ11ZQPk21GTPU%3D' (2024-07-08) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/2e42a42b46fd0e79306cf9207b00a7364e77c1ab?narHash=sha256-DMmXUEesU/CGtnOiXkMZYJvXf%2BTJNZnKxIuiuA6ssZs%3D' (2024-07-07) → 'github:nix-community/nixpkgs-wayland/813f608e25bc14b16053c005b05ebf8b18d25503?narHash=sha256-05wIPweI6ts1BtVaMYbdL5KEelMfM4g5f/Z/xQzXRQI%3D' (2024-07-08) • Updated input 'sops-nix': 'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea?narHash=sha256-kcI8q9Nh8/CSj0ygfWq1DLckHl8IHhFarL8ie6g7OEk%3D' (2024-07-07) → 'github:Mic92/sops-nix/67035a355b1d52d2d238501f8cc1a18706979760?narHash=sha256-jqvhLDXzTLTHq9ZviFOpcTmXXmnbLfz7mWhgMNipMN4%3D' (2024-07-08) Docker Images: • craumix/jmusicbot 0.4.1: sha256:3d93112ea5318eb527b9dd599e7fd5540fee8e6f481769a86f225e6d715d91b2 → sha256:560d380cbe9e90fd51e420eb060d5780dca07a5e04457b221f72e89210d23eb2 • quay.io/vaultwarden/server latest: sha256:edb8e2bab9cbca22e555638294db9b3657ffbb6e5d149a29d7ccdb243e3c71e0 → sha256:4e28425bad4bd13568e1779f682ff7e441eca2ecd079bd77cfcba6e4eaf1b999 • ghcr.io/linuxserver/bazarr latest: sha256:86ad012fc31e974dcf0147900a202443d92d12f4334a9e4ec89baa2052fb12fa → sha256:5da74fc1bbd5da69e3b4f9b2376f6ccfbe3b47f143e6eb5651ed37cc1d4412dd • ghcr.io/linuxserver/calibre-web latest: sha256:2de4ab91f2768c6db32d083a5935663fcc0eded1a67a4fdc2c1f705f7bb24d2d → sha256:73aa52c663537a21d0b2e5315ba1080aeaecff1fa29dc7c020a4107f64e96490
2024-07-09 18:35:28 -04:00
amdgpu.initrd.enable = true;
2024-06-21 18:15:19 -04:00
graphics = {
enable = true;
chore: update flake.lock Flake inputs: • Updated input 'Hyprspace': 'github:KZDKM/Hyprspace/2f3edb68f47a8f5d99d10b322e9a85a285f53cc7?narHash=sha256-iyj4D6c77uROAH9QdZjPd9SKnS/DuACMESqaEKnBgI8%3D' (2024-06-17) → 'github:KZDKM/Hyprspace/e8662093ae5b6e13a3cf1145d21d4804a3e84aeb?narHash=sha256-9aM4MCBJn4UstcsSdukOFTxg79keUMTw9Kmqr7Wsfmw%3D' (2024-07-09) • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay/d01718cae1920c0304dba16c8a579d7e309dd91e?narHash=sha256-7BmikJsEItlCGd3ppAB6sn8EXNB08U4pRXttoSQGN0Q%3D' (2024-07-07) → 'github:matt1432/discord-nightly-overlay/012ca035ff0e7eb8d8663674645e00f8cea5757e?narHash=sha256-A1gms/3YZLz%2B6E2RQoR/aCRApz6imSy9KOlct8QY1hs%3D' (2024-07-09) • Updated input 'home-manager': 'github:nix-community/home-manager/6b7ce96f34b324e4e104abc30d06955d216bac71?narHash=sha256-kAsg3Lg4YKKpGw%2Bf1W2s5hzjP8B0y/juowvjK8utIag%3D' (2024-07-07) → 'github:nix-community/home-manager/2fb5c1e0a17bc6059fa09dc411a43d75f35bb192?narHash=sha256-7ftA4Bv5KfH4QdTRxqe8/Hz2YTKo%2B7IQ9n7vbNWgv28%3D' (2024-07-08) • Updated input 'hyprland': 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=22138ac259b2f4253be29311f6b60fbd675074b4&submodules=1' (2024-07-07) → 'git+https://github.com/hyprwm/Hyprland?ref=refs/heads/main&rev=b03f41efec14273cf25c42d4cef326acc36cb319&submodules=1' (2024-07-08) • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor/66d5b46ff94efbfa6fa3d1d1b66735f1779c34a6?narHash=sha256-jpsns6buS4bK%2B1sF8sL8AaixAiCRjA%2BnldTKvcwmvUs%3D' (2024-06-15) → 'github:hyprwm/hyprcursor/a5c0d57325c5f0814c39110a70ca19c070ae9486?narHash=sha256-AxRkTJlbB8r7aG6gvc7IaLhc2T9TO4/8uqanKRxukBQ%3D' (2024-07-04) • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang/ec6938c66253429192274d612912649a0cfe4d28?narHash=sha256-XeeVoKHQgfKuXoP6q90sUqKyl7EYy3ol2dVZGM%2BJj94%3D' (2024-06-08) → 'github:hyprwm/hyprlang/5df0174fd09de4ac5475233d65ffc703e89b82eb?narHash=sha256-lyC/EZdHULsaAKVryK11lgHY9u6pXr7qR4irnxNWC7k%3D' (2024-07-07) • Updated input 'hyprland/hyprutils': 'github:hyprwm/hyprutils/1f6bbec5954f623ff8d68e567bddcce97cd2f085?narHash=sha256-dmRz128j/lJmMuTYeCYPfSBRHHQO3VeH4PbmoyAhHzw%3D' (2024-06-25) → 'github:hyprwm/hyprutils/a8c3a135701a7b64db0a88ec353a392f402d2a87?narHash=sha256-lq2dPPPcwMHTLsFrQ2pRp4c2LwDZWoqzSyjuPdeJCP4%3D' (2024-07-05) • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner/914f083741e694092ee60a39d31f693d0a6dc734?narHash=sha256-mAnZG/eQy72Fp1ImGtqCgUrDumnR1rMZv2E/zgP4U74%3D' (2024-06-22) → 'github:hyprwm/hyprwayland-scanner/d5fa094ca27e0039be5e94c0a80ae433145af8bb?narHash=sha256-JPdL%2BQul%2BjEueAn8CARfcWP83eJgwkhMejQYfDvrgvU%3D' (2024-07-05) • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland/c7894aa54f9a7dbd16df5cd24d420c8af22d5623?narHash=sha256-FWW68AVYmB91ZDQnhLMBNCUUTCjb1ZpO2k2KIytHtkA%3D' (2024-06-17) → 'github:hyprwm/xdg-desktop-portal-hyprland/b9b97e5ba23fe7bd5fa4df54696102e8aa863cf6?narHash=sha256-Rizg9efi6ue95zOp0MeIV2ZedNo%2B5U9G2l6yirgBUnA%3D' (2024-07-05) • Updated input 'hyprland/xdph/hyprland-protocols': 'github:hyprwm/hyprland-protocols/e06482e0e611130cd1929f75e8c1cf679e57d161?narHash=sha256-vbLVOWvQqo4n1yvkg/Q70VTlPbMmTiCQfNTgcWDCfJM%3D' (2024-05-05) → 'github:hyprwm/hyprland-protocols/1b61f0093afff20ab44d88ad707aed8bf2215290?narHash=sha256-HUklK5u86w2Yh9dOkk4FdsL8eehcOZ95jPhLixGDRQY%3D' (2024-06-18) • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS/fdcaab38857f221eea20a0073f891feb36ea8e99?narHash=sha256-KqGnYAKWxwRgWxc/78HbL3PHeuDJOSS/9%2BPkm5doUk8%3D' (2024-07-05) → 'github:Jovian-Experiments/Jovian-NixOS/5d1928b925da7390eae3e369e6808d64cf916ed7?narHash=sha256-rw8s4EsRSVtlAGNd5ttO4Ynb/eq0rMJsqG9zyREK3sk%3D' (2024-07-08) • Updated input 'neovim-nightly': 'github:nix-community/neovim-nightly-overlay/9822e0611d49ae70278ac20c9d7b68e4797b2fab?narHash=sha256-ihHXj%2Bfp/BVpc86rCNN%2BQbnpg6OrbeI%2Bjxz6VRyzcy0%3D' (2024-07-06) → 'github:nix-community/neovim-nightly-overlay/b6b51915180e6d2eac488d6f882e4ba36bad380d?narHash=sha256-IG/g4l/W0R2M/jxEyu/Sl3BmR/OK5D1jiahpc0wlpvE%3D' (2024-07-09) • Updated input 'neovim-nightly/git-hooks': 'github:cachix/git-hooks.nix/0ff4381bbb8f7a52ca4a851660fc7a437a4c6e07?narHash=sha256-F1h%2BXIsGKT9TkGO3omxDLEb/9jOOsI6NnzsXFsZhry4%3D' (2024-06-24) → 'github:cachix/git-hooks.nix/2b6bd3c87d3a66fb0b8f2f06c985995e04b4fb96?narHash=sha256-1in42htN3g3MnE3/AO5Qgs6pMWUzmtPQ7s675brO8uw%3D' (2024-07-08) • Updated input 'neovim-nightly/neovim-src': 'github:neovim/neovim/3c53e8f78511d6db9a6c804e5a479ba38c33102d?narHash=sha256-9tiW0rkQZGhnNaIP6gWj7N/iTlCLFdD5r37R1jVOs3s%3D' (2024-07-05) → 'github:neovim/neovim/fb6c059dc55c8d594102937be4dd70f5ff51614a?narHash=sha256-66u%2Byzjk6NrFr2jj2svD3jwNX8P2B8/DNH9A51V4kh8%3D' (2024-07-08) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/9f4128e00b0ae8ec65918efeba59db998750ead6?narHash=sha256-rwz8NJZV%2B387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ%3D' (2024-07-03) → 'github:NixOS/nixpkgs/655a58a72a6601292512670343087c2d75d859c1?narHash=sha256-cPJoFPXU44GlhWg4pUk9oUPqurPlCFZ11ZQPk21GTPU%3D' (2024-07-08) • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland/2e42a42b46fd0e79306cf9207b00a7364e77c1ab?narHash=sha256-DMmXUEesU/CGtnOiXkMZYJvXf%2BTJNZnKxIuiuA6ssZs%3D' (2024-07-07) → 'github:nix-community/nixpkgs-wayland/813f608e25bc14b16053c005b05ebf8b18d25503?narHash=sha256-05wIPweI6ts1BtVaMYbdL5KEelMfM4g5f/Z/xQzXRQI%3D' (2024-07-08) • Updated input 'sops-nix': 'github:Mic92/sops-nix/c184aca4db5d71c3db0c8cbfcaaec337a5d065ea?narHash=sha256-kcI8q9Nh8/CSj0ygfWq1DLckHl8IHhFarL8ie6g7OEk%3D' (2024-07-07) → 'github:Mic92/sops-nix/67035a355b1d52d2d238501f8cc1a18706979760?narHash=sha256-jqvhLDXzTLTHq9ZviFOpcTmXXmnbLfz7mWhgMNipMN4%3D' (2024-07-08) Docker Images: • craumix/jmusicbot 0.4.1: sha256:3d93112ea5318eb527b9dd599e7fd5540fee8e6f481769a86f225e6d715d91b2 → sha256:560d380cbe9e90fd51e420eb060d5780dca07a5e04457b221f72e89210d23eb2 • quay.io/vaultwarden/server latest: sha256:edb8e2bab9cbca22e555638294db9b3657ffbb6e5d149a29d7ccdb243e3c71e0 → sha256:4e28425bad4bd13568e1779f682ff7e441eca2ecd079bd77cfcba6e4eaf1b999 • ghcr.io/linuxserver/bazarr latest: sha256:86ad012fc31e974dcf0147900a202443d92d12f4334a9e4ec89baa2052fb12fa → sha256:5da74fc1bbd5da69e3b4f9b2376f6ccfbe3b47f143e6eb5651ed37cc1d4412dd • ghcr.io/linuxserver/calibre-web latest: sha256:2de4ab91f2768c6db32d083a5935663fcc0eded1a67a4fdc2c1f705f7bb24d2d → sha256:73aa52c663537a21d0b2e5315ba1080aeaecff1fa29dc7c020a4107f64e96490
2024-07-09 18:35:28 -04:00
enable32Bit = true;
};
bluetooth = {
enable = true;
powerOnBoot = false;
};
};
virtualisation = {
libvirtd.enable = true;
waydroid.enable = true;
};
environment.systemPackages = builtins.attrValues {
inherit
(pkgs)
qemu
powertop
;
};
2023-11-10 23:51:50 -05:00
# enable brightness control
programs.light.enable = true;
services = {
xserver.videoDrivers = ["modesetting"];
# https://www.reddit.com/r/linux/comments/1em8biv/psa_pipewire_has_been_halving_your_battery_life/
pipewire.wireplumber.extraConfig."10-disable-camera" = {
"wireplumber.profiles" = {
main = {
"monitor.libcamera" = "disabled";
};
};
};
tlp = {
enable = true;
settings = {
NMI_WATCHDOG = 0;
RADEON_DPM_PERF_LEVEL_ON_AC = "auto";
RADEON_DPM_PERF_LEVEL_ON_BAT = "low";
RADEON_DPM_STATE_ON_AC = "performance";
RADEON_DPM_STATE_ON_BAT = "battery";
CPU_BOOST_ON_AC = 1;
CPU_BOOST_ON_BAT = 0;
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";
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 20;
};
};
power-profiles-daemon.enable = false;
udev.extraRules =
2024-06-09 22:49:30 -04:00
# udev
''
# give permanent path to keyboard XF86* binds
SUBSYSTEMS=="input", ATTRS{id/product}=="0006", ATTRS{id/vendor}=="0000", SYMLINK += "video-bus"
'';
};
}