various things because i am lazy

This commit is contained in:
Ranomier 2024-12-13 19:06:00 +01:00
parent 1b9a5a264e
commit cc0b878532
9 changed files with 29 additions and 1 deletions

View file

@ -67,7 +67,7 @@
../../modules/users
../../modules/specific_hardware
../../modules/hardware
../../modules/sec_auth

View file

@ -3,5 +3,7 @@
./bluetooth.nix
./fwupd.nix
./scan_and_print.nix
./trackpoint.nix
./gpu.nix
];
}

6
modules/hardware/gpu.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs, ... }:{
hardware.graphics.enable = true;
hardware.graphics.extraPackages = with pkgs; [
libvdpau-va-gl
];
}

View file

@ -0,0 +1,4 @@
{ ... }:{
# probably does nothing on my amd laptop. need to check
hardware.trackpoint.speed = 200;
}

View file

@ -3,5 +3,6 @@
./flatpak.nix
./podman.nix
./store_pkg_file.nix
./garbage-collect.nix
];
}

View file

@ -0,0 +1,15 @@
{ ... }: {
nix = {
optimise = {
automatic = true;
dates = [ "16:00" "08:00" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 2d";
persistent = true;
randomizedDelaySec = "1h";
};
};
}