mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
+11
-33
@@ -10,46 +10,24 @@
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
# boot = {
|
||||
# initrd = {
|
||||
# availableKernelModules = [
|
||||
# "ahci"
|
||||
# "xhci_pci"
|
||||
# "usbhid"
|
||||
# "usb_storage"
|
||||
# "sd_mod"
|
||||
# "sdhci_pci"
|
||||
# ];
|
||||
# };
|
||||
# kernel = {
|
||||
# sysctl = {
|
||||
# "fs.inotify.max_user_watches" = "204800";
|
||||
# };
|
||||
# };
|
||||
# kernelModules = [
|
||||
# "kvm-intel"
|
||||
# "coretemp"
|
||||
# ];
|
||||
# };
|
||||
|
||||
fileSystems = {
|
||||
"/" = {
|
||||
device = lib.mkForce "/dev/disk/by-partlabel/disk-main-root"; # "/dev/disk/by-partlabel/disk-main-root";
|
||||
fsType = "ext4";
|
||||
};
|
||||
"/boot" = {
|
||||
device = lib.mkForce "/dev/disk/by-partlabel/disk-main-ESP";
|
||||
fsType = "vfat";
|
||||
options = [
|
||||
"fmask=0022"
|
||||
"dmask=0022"
|
||||
];
|
||||
};
|
||||
# "/boot" = {
|
||||
# device = lib.mkForce "/dev/disk/by-partlabel/disk-main-ESP";
|
||||
# fsType = "vfat";
|
||||
# options = [
|
||||
# "fmask=0022"
|
||||
# "dmask=0022"
|
||||
# ];
|
||||
# };
|
||||
};
|
||||
|
||||
# swapDevices = [
|
||||
# { device = "/dev/disk/by-partlabel/disk-main-swap"; }
|
||||
# ];
|
||||
swapDevices = [
|
||||
{ device = "/dev/disk/by-partlabel/disk-main-swap"; }
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
||||
Reference in New Issue
Block a user