nixos/system/vylpes-virt/configuration.nix

25 lines
474 B
Nix
Raw Normal View History

2024-07-07 18:11:51 +01:00
{pkgs, user, ...}: {
imports = [
../shared.nix
./hardware-configuration.nix
];
networking = {
hostName = "vylpes-virt";
};
2024-07-08 16:02:04 +01:00
services.xserver.displayManager.setupCommands = ''
${pkgs.xorg.xrandr}/bin/xrandr -s 1920x1080
'';
services.xserver.displayManager.sessionCommands = ''
${pkgs.xorg.xrdb}/bin/xrdb -merge <<EOF
Xft.dpi: 96
Xcursor.theme: Adwaita
EOF
'';
virtualisation.virtualbox.guest.enable = true;
2024-07-07 18:11:51 +01:00
}