瀏覽代碼

Add 'hardware-configuration.nix'

master
HMSheets 4 年之前
父節點
當前提交
e58201abb8
共有 1 個文件被更改,包括 26 次插入0 次删除
  1. +26
    -0
      hardware-configuration.nix

+ 26
- 0
hardware-configuration.nix 查看文件

@@ -0,0 +1,26 @@
# 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, ... }:

{
imports =
[ <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
];

boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];

fileSystems."/" =
{ device = "/dev/disk/by-uuid/1972ba2d-a5fd-4d89-86a4-092a2645d27f";
fsType = "ext4";
};

swapDevices =
[ { device = "/dev/disk/by-uuid/6f3e3d02-70dc-4820-b6c6-41568fe57600"; }
];

nix.maxJobs = lib.mkDefault 1;
}

Loading…
取消
儲存