I showed you my source code, pls respond
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
619 B

  1. # This file is controlled by /etc/dotfiles/README.org
  2. { config, lib, pkgs, modulesPath, ... }:
  3. {
  4. imports =
  5. [ (modulesPath + "/profiles/qemu-guest.nix")
  6. ];
  7. boot.initrd.availableKernelModules = [ "ata_piix" "floppy" "sd_mod" "sr_mod" ];
  8. boot.initrd.kernelModules = [ ];
  9. boot.kernelModules = [ ];
  10. boot.extraModulePackages = [ ];
  11. boot.loader.grub.enable = true;
  12. boot.loader.grub.version = 2;
  13. boot.loader.grub.device = "/dev/sda";
  14. fileSystems."/" =
  15. { device = "/dev/disk/by-label/nixos";
  16. fsType = "ext4";
  17. };
  18. swapDevices =
  19. [ { device = "/dev/disk/by-label/swap"; }
  20. ];
  21. }