Skip to content

Instantly share code, notes, and snippets.

@gauravjuvekar
Created September 21, 2023 15:57
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 gauravjuvekar/036e14992392a67f6463db682f246fd6 to your computer and use it in GitHub Desktop.
Save gauravjuvekar/036e14992392a67f6463db682f246fd6 to your computer and use it in GitHub Desktop.
Live NIXOS
{ config, pkgs, ... }:
{
imports = [ <nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix> ];
systemd.services."xe-daemon".enable = false;
environment.etc."lvm/lvm.conf" = {
text = ''
devices {
scan_lvs = 1
}
'';
mode = "0600";
};
boot.kernelModules = [ "dm-raid" "dm-integrity" ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment