38 lines
692 B
Nix
38 lines
692 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
imports = [ ./configuration.nix ];
|
|
|
|
# VM-specific settings
|
|
virtualisation = {
|
|
memorySize = 4096;
|
|
cores = 4;
|
|
graphics = true;
|
|
resolution = { x = 1920; y = 1080; };
|
|
};
|
|
|
|
# Enable Hyprland for testing
|
|
programs.hyprland = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
};
|
|
|
|
# Minimal desktop setup
|
|
services.displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
};
|
|
|
|
# Add a test user
|
|
users.users.testuser = {
|
|
isNormalUser = true;
|
|
password = "test";
|
|
extraGroups = [ "wheel" ];
|
|
};
|
|
|
|
# Enable auto-login for testing
|
|
services.displayManager.autoLogin = {
|
|
enable = true;
|
|
user = "l-wyatt";
|
|
};
|
|
}
|