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.

25 lines
587 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.device = "/dev/sda";
  13. fileSystems."/" =
  14. { device = "/dev/disk/by-label/nixos";
  15. fsType = "ext4";
  16. };
  17. swapDevices =
  18. [ { device = "/dev/disk/by-label/swap"; }
  19. ];
  20. }