Skip to content

Instantly share code, notes, and snippets.

@devhell
Created July 9, 2020 10:26
Show Gist options
  • Save devhell/07df7d1902ae2ab4af6456a8c6e0989a to your computer and use it in GitHub Desktop.
Save devhell/07df7d1902ae2ab4af6456a8c6e0989a to your computer and use it in GitHub Desktop.
for flokli
# 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 = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/deadbeef";
fsType = "ext4";
};
boot.initrd.luks.devices."crypted".device = "/dev/disk/by-uuid/c0ffee";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/f00f";
fsType = "ext2";
};
swapDevices = [ ];
nix.maxJobs = lib.mkDefault 2;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment