Browse Source

Add 'hardware-configuration.nix'

master
HMSheets 3 years ago
parent
commit
e58201abb8
1 changed files with 26 additions and 0 deletions
  1. +26
    -0
      hardware-configuration.nix

+ 26
- 0
hardware-configuration.nix View File

@@ -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…
Cancel
Save