-{ lib, config, ... }@args:
+{ lib, config, environment, ... }@args:
{
- options.myEnv = (import ../../../environment.nix (args // { name = "dummy"; })).options.myEnv;
+ options.myEnv = (environment.nixosModule (args // { name = "dummy"; })).options.myEnv;
config = {
+ # This value determines the NixOS release with which your system is
+ # to be compatible, in order to avoid breaking some software such as
+ # database servers. You should change this only after NixOS release
+ # notes say you should.
+ # https://nixos.org/nixos/manual/release-notes.html
+ system.stateVersion = lib.mkDefault "23.05"; # Did you read the comment?
+
fileSystems."/".device = "/dev/disk/by-label/nixos";
boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "virtio_balloon" "virtio_blk" "virtio_pci" "virtio_ring" ];
boot.loader = {
grub = {
- version = 2;
device = "/dev/vda";
};
timeout = 0;