updated nvim config, added local_ai
This commit is contained in:
@@ -1,38 +1,44 @@
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
./disko.nix
|
||||
./hardware-configuration.nix
|
||||
./display-configuration.nix
|
||||
../../modules/hardware/nvidia.nix
|
||||
../../modules/apps/gaming.nix
|
||||
];
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
./disko.nix
|
||||
./hardware-configuration.nix
|
||||
./display-configuration.nix
|
||||
../../modules/hardware/nvidia.nix
|
||||
../../modules/apps/gaming.nix
|
||||
../../modules/apps/local_ai.nix
|
||||
];
|
||||
|
||||
networking.hostName = "hades";
|
||||
networking.hostName = "hades";
|
||||
|
||||
# Enable in-memory compressed swap
|
||||
zramSwap.enable = true;
|
||||
# Enable in-memory compressed swap
|
||||
zramSwap.enable = true;
|
||||
|
||||
# Ensure /games directory is accessible by default user
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /games 0755 anish users -"
|
||||
];
|
||||
# Ensure /games directory is accessible by default user
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /games 0755 anish users -"
|
||||
];
|
||||
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
powerManagement.cpuFreqGovernor = "performance";
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = false;
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = false;
|
||||
sync.enable = false;
|
||||
|
||||
amdgpuBusId = "PCI:121@0:0:0";
|
||||
nvidiaBusId = "PCI:1@0:0:0";
|
||||
};
|
||||
amdgpuBusId = "PCI:121@0:0:0";
|
||||
nvidiaBusId = "PCI:1@0:0:0";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
mangohud
|
||||
nvtopPackages.nvidia
|
||||
];
|
||||
environment.systemPackages = with pkgs; [
|
||||
mangohud
|
||||
nvtopPackages.nvidia
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user