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
|
2024-03-18 18:27:29 -05:00
|
|
|
../../modules/hosts.nix
|
2023-12-28 15:27:31 -06:00
|
|
|
../../modules/bootstrap.nix
|
|
|
|
../../modules/common.nix
|
|
|
|
../../modules/x11.nix
|
|
|
|
../../modules/discord.nix
|
|
|
|
../../modules/gaming.nix
|
2024-02-10 18:40:24 -06:00
|
|
|
../../modules/rbw.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
|
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
|
2024-02-24 17:22:30 -06:00
|
|
|
libreoffice
|
2024-03-18 18:27:29 -05:00
|
|
|
texliveMedium
|
2024-04-13 13:53:11 -05:00
|
|
|
ledger
|
2023-10-15 13:31:04 -05:00
|
|
|
];
|
|
|
|
|
2024-02-09 23:41:19 -06:00
|
|
|
services.hardware.bolt.enable = true; # thunderbolt support
|
|
|
|
hardware.bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
General = {
|
|
|
|
Enable = "Source,Sink,Media,Socket";
|
|
|
|
ControllerMode = "bredr";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-01-28 19:02:49 -06: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-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-02-09 23:41:19 -06:00
|
|
|
powerManagement.cpuFreqGovernor = "performance";
|
|
|
|
|
2024-01-24 19:37:55 -06:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
2024-01-24 23:27:38 -06:00
|
|
|
networking = {
|
|
|
|
hostName = "mlg";
|
|
|
|
firewall.enable = true;
|
|
|
|
};
|
2024-02-09 23:41:19 -06:00
|
|
|
|
|
|
|
system.stateVersion = "23.11"; # don't change this, lol
|
2023-08-01 15:39:35 -05:00
|
|
|
}
|