dot_testing/boxes/mlg/default.nix

53 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2023-08-01 15:39:35 -05:00
{ lib, config, pkgs, ...}:
{
imports = [
2024-01-07 23:08:20 -06:00
# ./hardware-configuration.nix
2023-12-28 15:27:31 -06:00
./nvidia.nix
../../modules/bootstrap.nix
../../modules/common.nix
../../modules/x11.nix
../../modules/discord.nix
../../modules/gaming.nix
2023-08-01 15:39:35 -05:00
];
2023-10-15 13:31:04 -05:00
environment.systemPackages = with pkgs; [
wine
xdotool
qemu
virt-manager
gnome.cheese
calyx-vpn
android-studio
emacs
deepin.deepin-album
2023-11-23 14:06:56 -06:00
libreoffice
2023-10-15 13:31:04 -05:00
nomacs
vscodium
2023-11-23 14:06:56 -06:00
minetest
2023-10-15 13:31:04 -05:00
];
2023-08-01 15:39:35 -05:00
boot.loader = {
efi = {
canTouchEfiVariables = true;
2023-08-01 23:03:39 -05:00
efiSysMountPoint = "/boot";
2023-08-01 15:39:35 -05:00
};
grub = {
efiSupport = true;
device = "nodev";
};
};
2023-10-15 13:31:04 -05:00
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
users.users.usr.extraGroups = [ "libvirtd" ];
2023-11-23 14:06:56 -06:00
services.printing.enable = true;
services.avahi.enable = true; # runs the Avahi daemon
services.avahi.nssmdns = true; # enables the mDNS NSS plug-in
services.avahi.openFirewall = true; # opens the firewall for UDP port 5353
2023-08-01 15:39:35 -05:00
networking.hostName = "mlg";
}