forked from KptltD00M/nixy
feat: integrate nix-citizen and star-citizen support in NixOS configuration
This commit is contained in:
+12
-5
@@ -14,21 +14,29 @@ nixpkgs.lib.nixosSystem {
|
||||
}
|
||||
|
||||
({ config, pkgs, lib, ... }: {
|
||||
# Intel microcode
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
# Intel Microcode
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
hardware.cpu.intel.updateMicrocode = true;
|
||||
|
||||
# Graphics support
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
# Hardware accelaration
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
# Power management
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
# Power management
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
powerManagement.cpuFreqGovernor = "powersave";
|
||||
services.tlp.enable = true;
|
||||
services.power-profiles-daemon.enable = false;
|
||||
|
||||
# Kernel modules commonly needed on ThinkPads
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
# Kernel modules commonly needed on ThinkPads
|
||||
# ─────────────────────────────────────────────────────────────
|
||||
boot.kernelModules = [
|
||||
"i915"
|
||||
"snd_hda_intel"
|
||||
@@ -39,7 +47,6 @@ nixpkgs.lib.nixosSystem {
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.stylix.nixosModules.stylix
|
||||
inputs.nix-index-database.nixosModules.default
|
||||
inputs.helium-browser.nixosModules.default
|
||||
|
||||
./configuration.nix
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user