dotfiles/config/aspire_hardware.nix

44 lines
1.3 KiB
Nix

2021-09-11 12:05:37 +07: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.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-intel" "wl" ];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/3a5d1853-d44b-4483-b964-62ef2ad25d06";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/persist" =
{ device = "/dev/disk/by-uuid/3a5d1853-d44b-4483-b964-62ef2ad25d06";
fsType = "btrfs";
options = [ "subvol=@persist" ];
};
fileSystems."/nix" =
{ device = "/dev/disk/by-uuid/3a5d1853-d44b-4483-b964-62ef2ad25d06";
fsType = "btrfs";
options = [ "subvol=@nix" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2e235b61-281c-481e-936a-918653d2dd06";
fsType = "ext4";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/1ba34ba4-5007-4669-a7eb-78e516d2d29c"; }
];
}