various things because i am lazy
This commit is contained in:
parent
1b9a5a264e
commit
cc0b878532
9 changed files with 29 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
|||
|
||||
../../modules/users
|
||||
|
||||
../../modules/specific_hardware
|
||||
../../modules/hardware
|
||||
|
||||
../../modules/sec_auth
|
||||
|
||||
|
|
|
@ -3,5 +3,7 @@
|
|||
./bluetooth.nix
|
||||
./fwupd.nix
|
||||
./scan_and_print.nix
|
||||
./trackpoint.nix
|
||||
./gpu.nix
|
||||
];
|
||||
}
|
6
modules/hardware/gpu.nix
Normal file
6
modules/hardware/gpu.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:{
|
||||
hardware.graphics.enable = true;
|
||||
hardware.graphics.extraPackages = with pkgs; [
|
||||
libvdpau-va-gl
|
||||
];
|
||||
}
|
4
modules/hardware/trackpoint.nix
Normal file
4
modules/hardware/trackpoint.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ ... }:{
|
||||
# probably does nothing on my amd laptop. need to check
|
||||
hardware.trackpoint.speed = 200;
|
||||
}
|
|
@ -3,5 +3,6 @@
|
|||
./flatpak.nix
|
||||
./podman.nix
|
||||
./store_pkg_file.nix
|
||||
./garbage-collect.nix
|
||||
];
|
||||
}
|
||||
|
|
15
modules/pkg_mgrmnt/garbage-collect.nix
Normal file
15
modules/pkg_mgrmnt/garbage-collect.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue