dot_testing/boxes/mlg/default.nix

69 lines
1.4 KiB
Nix
Raw Normal View History

2023-08-01 15:39:35 -05:00
{ lib, config, pkgs, ...}:
{
imports = [
2024-01-24 23:09:02 -06:00
./hardware-configuration.nix
2023-12-28 15:27:31 -06:00
./nvidia.nix
2024-01-24 23:09:02 -06:00
../../modules/ssh-phone-home.nix
2023-12-28 15:27:31 -06:00
../../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-12-31 18:54:59 -06:00
thunderbird
2023-11-23 14:06:56 -06:00
minetest
2023-10-15 13:31:04 -05:00
];
2024-01-24 23:09:02 -06:00
services.openssh.enable = true;
services.ssh-phone-home = {
enable = true;
localUser = "usr";
remoteHostname = "192.168.1.100";
remotePort = 22;
remoteUser = "usr";
bindPort = 2222;
};
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
2024-01-24 19:37:55 -06:00
nixpkgs.config.allowUnfree = true;
networking = {
hostName = "mlg";
firewall.enable = true;
};
2023-08-01 15:39:35 -05:00
}