68 lines
1.4 KiB
Nix
68 lines
1.4 KiB
Nix
{ config, lib, modulesPath, pkgs, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
fileSystems."/" =
|
|
{
|
|
device = "/dev/disk/by-uuid/5679b901-3a70-4422-81f5-af91f287500b";
|
|
fsType = "btrfs";
|
|
options = [ "compress-force=zstd:3" ];
|
|
};
|
|
|
|
fileSystems."/boot/efi" =
|
|
{
|
|
device = "/dev/disk/by-uuid/A2E5-006F";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
fileSystems."/media/omghi" =
|
|
{
|
|
device = "/dev/disk/by-uuid/0e862bdb-168a-42cc-8a28-0ae9e9a0753c";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
fileSystems."/media/real" =
|
|
{
|
|
device = "/dev/disk/by-uuid/8086be20-c770-46be-bd8f-5bd2d7735c7d";
|
|
fsType = "btrfs";
|
|
options = [ "compress-force=zstd:3" ];
|
|
};
|
|
|
|
/* fileSystems."/media/ntfs" =
|
|
{
|
|
device = "/dev/disk/by-uuid/54034ca6-d3cd-11ee-9e0c-f020ff87c985";
|
|
fsType = "ntfs";
|
|
};*/
|
|
|
|
zramSwap = {
|
|
enable = true;
|
|
algorithm = "lz4";
|
|
memoryPercent = 20;
|
|
priority = -1;
|
|
};
|
|
|
|
swapDevices = [
|
|
{ device = "/var/swap"; size = 32768; }
|
|
];
|
|
|
|
powerManagement = {
|
|
enable = true;
|
|
cpuFreqGovernor = "powersave";
|
|
};
|
|
|
|
hardware = {
|
|
bluetooth.enable = true;
|
|
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
opengl = {
|
|
driSupport32Bit = true;
|
|
enable = true;
|
|
package = pkgs.mesa.drivers;
|
|
package32 = pkgs.pkgsi686Linux.mesa.drivers;
|
|
};
|
|
};
|
|
}
|