Skip to content
Snippets Groups Projects
issuer-aws.nix 259 B
Newer Older
  • Learn to ignore specific revisions
  • {
      imports = [ <nixpkgs/nixos/modules/virtualisation/amazon-image.nix> ];
      ec2.hvm = true;
    
      boot.kernel.sysctl = { "vm.swappiness" = 0; };
    
      swapDevices = [ {
        device = "/var/swapfile";
        size = 8192; # megabytes
        randomEncryption = true;
      } ];