-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathws2.nix
More file actions
34 lines (28 loc) · 879 Bytes
/
ws2.nix
File metadata and controls
34 lines (28 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[
./common.nix
(modulesPath + "/installer/scan/not-detected.nix")
];
networking.hostName = "ws2"; # Define your hostname.
boot.plymouth.theme = "cerealkiller";
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/43927392-0be3-4970-a070-df0346e2f420";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0336-0092";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
# This device has only 4GB RAM.
zramSwap.enable = true;
nix.settings.max-jobs = 1;
}