citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

default.nix (772B)


      1 { config, lib, pkgs, ... }:
      2 {
      3   imports =
      4     [ <nixpkgs/nixos/modules/profiles/qemu-guest.nix>
      5     ];
      6   boot.kernelParams = [ "console=ttyS0" ];
      7   boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "virtio_scsi" "9p" "9pnet_virtio" "ata_piix" "virtio_pci" ];
      8   boot.loader.grub.extraConfig = "serial; terminal_input serial; terminal_output serial";
      9   boot.loader.grub.device = "/dev/sda";
     10 
     11   fileSystems."/" =
     12     { device = "/dev/disk/by-uuid/98b261fa-4f9e-4e42-895b-91c17cf145b3";
     13       fsType = "ext4";
     14     };
     15 
     16   fileSystems."/boot" =
     17     { device = "/dev/disk/by-uuid/b3c7ddd8-fa2f-41ea-b77f-b9a1f434b668";
     18       fsType = "ext4";
     19     };
     20 
     21   swapDevices =
     22     [ { device = "/dev/disk/by-uuid/eb7f5cd4-6586-47f4-b4cd-c118e3521f17"; }
     23     ];
     24 }