28 lines
539 B
Nix
28 lines
539 B
Nix
{
|
|
config,
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
inputs.disko.nixosModules.disko
|
|
(import ../format.nix { device = "/dev/vda"; })
|
|
./hardware-configuration.nix
|
|
../.
|
|
];
|
|
|
|
networking.hostName = "eirene-vm";
|
|
|
|
boot.kernelParams = [ "video=Virtual-1:2560x1600@60" ];
|
|
|
|
fileSystems."/host" = {
|
|
device = "host";
|
|
fsType = "virtiofs";
|
|
};
|
|
|
|
home-manager.sharedModules = lib.mkIf config.programs.hyprland.enable [
|
|
{ wayland.windowManager.hyprland.settings.monitor = "Virtual-1, 2560x1600@60, 0x0, 1"; }
|
|
];
|
|
}
|