flakes/modules/system/hardware-configuration.nix

70 lines
2.2 KiB
Nix
Raw Normal View History

2021-05-11 14:32:58 +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, ... }:
{
2021-07-15 19:57:49 +07:00
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2021-05-11 14:32:58 +07:00
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
2021-07-15 19:57:49 +07:00
boot.initrd.kernelModules = [];
2021-05-11 14:32:58 +07:00
boot.kernelModules = [ "kvm-intel" ];
2021-07-15 19:57:49 +07:00
boot.extraModulePackages = [];
2021-05-11 14:32:58 +07:00
2021-07-15 19:57:49 +07:00
fileSystems."/" = {
device = "rootfs";
fsType = "tmpfs";
options = [ "defaults" "size=4G" "mode=755" ];
};
2021-05-11 14:32:58 +07:00
2021-07-15 19:57:49 +07:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/E8E8-E570";
fsType = "vfat";
};
2021-05-11 14:32:58 +07:00
2021-07-15 19:57:49 +07:00
fileSystems."/mnt/butter" = {
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
fsType = "btrfs";
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=5" ];
};
2021-07-15 19:57:49 +07:00
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
fsType = "btrfs";
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=258" ];
};
2021-07-15 19:57:49 +07:00
fileSystems."/home" = {
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
fsType = "btrfs";
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=260" ];
};
2021-07-15 19:57:49 +07:00
fileSystems."/home/.snapshots" = {
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
fsType = "btrfs";
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=319" ];
};
2021-07-10 09:00:21 +07:00
2021-07-15 19:57:49 +07:00
fileSystems."/root" = {
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
fsType = "btrfs";
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=261" ];
};
2021-07-15 19:57:49 +07:00
fileSystems."/var" = {
device = "/dev/disk/by-uuid/8f0ba28e-5dff-4a4e-8db0-aa72cc90cb5d";
fsType = "btrfs";
options = [ "autodefrag" "compress=zstd:3" "nossd" "nossd_spread" "relatime" "subvolid=259" ];
};
2021-07-15 19:57:49 +07:00
fileSystems."/mnt/hdd" = {
device = "/dev/disk/by-uuid/d5e3cfe5-c73a-4695-b81b-fc0215d4cefe";
fsType = "ext4";
};
2021-05-11 14:32:58 +07:00
2021-07-15 19:57:49 +07:00
swapDevices = [];
2021-05-11 14:32:58 +07:00
}