Skip to content

Instantly share code, notes, and snippets.

@cyounkins
Created November 20, 2018 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyounkins/7b56d15576935cda5102be46edf43c4f to your computer and use it in GitHub Desktop.
Save cyounkins/7b56d15576935cda5102be46edf43c4f to your computer and use it in GitHub Desktop.
# 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/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "ehci_pci" "ata_piix" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "tmpfs";
fsType = "tmpfs";
};
fileSystems."/iso" =
{ device = "/dev/disk/by-uuid/1970-01-01-00-00-01-00";
fsType = "iso9660";
};
fileSystems."/nix/.ro-store" =
{ device = "/iso/nix-store.squashfs";
fsType = "squashfs";
options = [ "loop" ];
};
fileSystems."/nix/.rw-store" =
{ device = "tmpfs";
fsType = "tmpfs";
};
fileSystems."/nix/store" =
{ device = "unionfs";
fsType = "fuse.unionfs";
};
fileSystems."/mnt" =
{ device = "/dev/disk/by-uuid/27d86f7d-c47b-4e92-b50a-5ec34d3a739a";
fsType = "ext4";
};
fileSystems."/mnt/boot" =
{ device = "/dev/disk/by-uuid/C97D-3DF0";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/7e627ec5-0ab9-4eef-a0eb-b15beff6ee46"; }
];
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment