This commit is contained in:
Vivian 2024-12-04 15:13:10 +01:00
parent 359c8534f9
commit 1e633dd97d
8 changed files with 105 additions and 67 deletions

View file

@ -6,6 +6,7 @@
inputs,
lib,
pkgs,
modulesPath,
...
}:
{
@ -16,9 +17,6 @@
./uni.nix
];
# services.power-profiles-daemon.enable = lib.mkForce false;
# services.tlp.enable = true;
meta = {
mac = "04:7b:cb:b6:2d:88";
isLaptop = true;
@ -26,14 +24,15 @@
users.users.vivian.extraGroups = [ "adbusers" ];
environment.systemPackages = with pkgs; [
];
services.flatpak.enable = true;
# Bootloader.
boot = {
kernelParams = [
"amdgpu.sg_display=0" # did not fix the flickering
"amdgpu.ppfeaturemask=0xffffffff" # did not fix flicker
"amdgpu.graphics_sg=0"
];
bootspec.enable = true;
initrd.kernelModules = [ "amdgpu" ];
resumeDevice = "/dev/nvme0n1p2";
@ -54,7 +53,6 @@
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages