moved hosts/ to top level

This commit is contained in:
serenity-F 2024-11-07 15:30:18 +10:00
parent 0cddc8eede
commit 09bf89f02b
No known key found for this signature in database
12 changed files with 0 additions and 0 deletions

View file

@ -1,91 +0,0 @@
{ lib, config, pkgs, modulesPath, ... }:
{
imports = [
./hardware
./network
../../config.nix
];
nix = {
settings = {
};
gc = {
## Automatically run 'nix-collect-garbage'
automatic = true;
## Ever day.
dates = "daily";
## and clear junk older than x days
options = "--delete-older-than 3d";
## No clue what this does lol.
#persistent = true;
};
};
hardware = {
enableAllFirmware = true;
bluetooth.enable = false;
graphics = {
enable = true;
## Packages for integrated graphics inside Hades
extraPackages = with pkgs; [
intel-compute-runtime
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
];
};
amdgpu = {
initrd.enable = true;
opencl.enable = true;
amdvlk = {
enable = true;
#package = [ ];
support32Bit.enable = true;
supportExperimental.enable = true;
#settings = {
#};
};
};
};
programs = {
## For tweaking Radeon GPUs
corectrl = {
enable = true;
gpuOverclock = {
enable = true;
## Allows changing clocks and volts
ppfeaturemask = "0xfffd7fff";
};
};
tuxclocker = {
enable = true;
enableAMD = true;
useUnfree = true;
};
};
## Some packages for managing the radeon GPU inside Hades
environment.systemPackages = with pkgs; [
umr
radeontop
amdgpu_top
radeontools
radeon-profile
nvtopPackages.amd
];
}