nixos-config/machines/Dell-Laptop/hardware-configuration.nix

63 lines
2.0 KiB
Nix
Raw Normal View History

2020-02-07 03:52:17 +04:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
2020-08-06 23:34:37 +04:00
{ config, lib, pkgs, modulesPath, ... }:
2020-02-07 03:52:17 +04:00
{
imports =
2020-08-06 23:34:37 +04:00
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2020-02-07 03:52:17 +04:00
2021-06-27 20:44:49 +03:00
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
2020-02-07 03:52:17 +04:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2021-06-27 20:44:49 +03:00
{ device = "/dev/disk/by-uuid/27bedbc3-b6c7-43b1-ba60-792a755ba01f";
fsType = "btrfs";
options = [ "subvol=nixos" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
2020-02-07 03:52:17 +04:00
};
2020-09-08 03:07:50 +04:00
fileSystems."/nix" =
2021-06-27 20:44:49 +03:00
{ device = "/dev/disk/by-uuid/27bedbc3-b6c7-43b1-ba60-792a755ba01f";
fsType = "btrfs";
options = [ "subvol=nix" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
2020-09-08 03:07:50 +04:00
};
fileSystems."/home" =
2021-06-27 20:44:49 +03:00
{ device = "/dev/disk/by-uuid/27bedbc3-b6c7-43b1-ba60-792a755ba01f";
fsType = "btrfs";
options = [ "subvol=home" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
2020-09-08 03:07:50 +04:00
};
2021-06-27 20:44:49 +03:00
fileSystems."/var" =
{ device = "/dev/disk/by-uuid/27bedbc3-b6c7-43b1-ba60-792a755ba01f";
fsType = "btrfs";
options = [ "subvol=var" "compress-force=zstd" "noatime" "autodefrag" "ssd" ];
2020-09-08 03:07:50 +04:00
};
2020-08-06 23:34:37 +04:00
2021-06-27 20:44:49 +03:00
fileSystems."/media/bittorrent" =
{ device = "/dev/disk/by-uuid/27bedbc3-b6c7-43b1-ba60-792a755ba01f";
fsType = "btrfs";
options = [ "subvol=bittorrent" "nodatacow" "ssd" ];
2021-02-07 02:38:11 +03:00
};
2020-02-07 03:52:17 +04:00
fileSystems."/boot" =
2021-06-27 20:44:49 +03:00
{ device = "/dev/disk/by-uuid/B0FE-7362";
2020-02-07 03:52:17 +04:00
fsType = "vfat";
};
2020-08-06 23:34:37 +04:00
swapDevices = [
{
2021-06-27 20:44:49 +03:00
device = "/dev/disk/by-partuuid/bd1405c3-eab1-465e-a83b-0781b430a5bb";
2020-08-06 23:34:37 +04:00
randomEncryption.enable = true;
}
];
2020-02-07 03:52:17 +04:00
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
2021-06-27 20:44:49 +03:00
networking.hostId = "3efba84e";
boot.initrd.supportedFilesystems = [ "btrfs" ];
boot.supportedFilesystems = [ "btrfs" ];
2020-02-07 03:52:17 +04:00
}