mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
turn on swap
This commit is contained in:
@@ -51,9 +51,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# swapDevices = [
|
swapDevices = [
|
||||||
# { device = "/dev/disk/by-partlabel/disk-main-swap"; }
|
{ device = "/dev/disk/by-partlabel/disk-main-swap"; }
|
||||||
# ];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# 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
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# swapDevices = [
|
swapDevices = [
|
||||||
# { device = "/dev/disk/by-partlabel/disk-main-swap"; }
|
{ device = "/dev/disk/by-partlabel/disk-main-swap"; }
|
||||||
# ];
|
];
|
||||||
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
|||||||
@@ -41,10 +41,6 @@ let
|
|||||||
intel-gpu-tools.enable = true;
|
intel-gpu-tools.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# swapDevices = [
|
|
||||||
# { device = "/dev/disk/by-partlabel/disk-main-swap"; }
|
|
||||||
# ];
|
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
# External drive
|
# External drive
|
||||||
"${xlib.dirs.server-home}" = {
|
"${xlib.dirs.server-home}" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user