56 lines
1.3 KiB
Nix
56 lines
1.3 KiB
Nix
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|||
|
|
# and may be overwritten by future invocations. Please make changes
|
|||
|
|
# to /etc/nixos/configuration.nix instead.
|
|||
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|||
|
|
|
|||
|
|
{
|
|||
|
|
imports =
|
|||
|
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
|||
|
|
];
|
|||
|
|
|
|||
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
|
|||
|
|
boot.initrd.kernelModules = [ ];
|
|||
|
|
boot.kernelModules = [ ];
|
|||
|
|
boot.extraModulePackages = [ ];
|
|||
|
|
|
|||
|
|
fileSystems."/" =
|
|||
|
|
{ device = "/dev/vda3";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=@" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/nix" =
|
|||
|
|
{ device = "/dev/vda3";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=@nix" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/home" =
|
|||
|
|
{ device = "/dev/vda3";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=@home" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/var/log" =
|
|||
|
|
{ device = "/dev/vda3";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=@log" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/persist" =
|
|||
|
|
{ device = "/dev/vda3";
|
|||
|
|
fsType = "btrfs";
|
|||
|
|
options = [ "subvol=@persist" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
fileSystems."/boot" =
|
|||
|
|
{ device = "/dev/disk/by-uuid/B4D5-D753";
|
|||
|
|
fsType = "vfat";
|
|||
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
swapDevices = [ ];
|
|||
|
|
|
|||
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|||
|
|
}
|