21 lines
366 B
Nix

{ config, pkgs, ... }:
{
networking.hostName = "vm";
# Use DHCP for networking
networking.useDHCP = true;
# Disk encryption setup
boot.initrd.luks.devices = {
root = {
device = "/dev/sda1";
preLVM = true;
};
};
# Hyprland setup without GPU acceleration
services.xserver.enable = true;
services.xserver.videoDrivers = [ ];
}