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
|
2024-05-25 14:06:08 -05:00
|
|
|
# ../../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";
|
2024-04-15 01:43:08 -05:00
|
|
|
remoteHostname = "mainsail";
|
2024-01-24 23:09:02 -06:00
|
|
|
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";
|
2024-05-12 13:23:59 -05:00
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [ 6000 ];
|
|
|
|
allowedTCPPortRanges = [
|
|
|
|
{ from = 1714; to = 1764; } # KDE Connect
|
|
|
|
];
|
|
|
|
allowedUDPPortRanges = [
|
|
|
|
{ from = 1714; to = 1764; } # KDE Connect
|
|
|
|
];
|
|
|
|
};
|
2024-01-24 23:27:38 -06:00
|
|
|
};
|
2024-02-09 23:41:19 -06:00
|
|
|
|
2024-05-12 13:23:59 -05:00
|
|
|
programs.kdeconnect.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
|
|
|
}
|