From 527c96af4ed48111cfa19161fb2680b6866c2594 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Fri, 11 Dec 2020 12:11:45 +0100 Subject: Add machines folder --- machines/hp-compaq/hardware-configuration.nix | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 machines/hp-compaq/hardware-configuration.nix (limited to 'machines/hp-compaq/hardware-configuration.nix') diff --git a/machines/hp-compaq/hardware-configuration.nix b/machines/hp-compaq/hardware-configuration.nix new file mode 100755 index 0000000..a2f8180 --- /dev/null +++ b/machines/hp-compaq/hardware-configuration.nix @@ -0,0 +1,37 @@ +# 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 = + [ + ]; + + boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ata_piix" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/ad2775d5-5890-493e-b709-60c1f7f3c63b"; + fsType = "ext4"; + }; + + fileSystems."/nix/store" = + { device = "/nix/store"; + fsType = "none"; + options = [ "bind" ]; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/C6DC-F51D"; + fsType = "vfat"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/ad2b96eb-341c-40e2-bb86-1ed2f03a0713"; } + ]; + + nix.maxJobs = lib.mkDefault 2; +} -- cgit 1.4.1