2024-07-22 01:22:27 -05:00
|
|
|
{ lib, config, pkgs, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./nvidia.nix
|
|
|
|
../../modules/ssh-phone-home.nix
|
|
|
|
../../modules/hosts.nix
|
|
|
|
../../modules/bootstrap.nix
|
|
|
|
../../modules/common.nix
|
|
|
|
../../modules/x11.nix
|
2024-08-04 18:32:40 -05:00
|
|
|
../../modules/pulse.nix
|
2024-07-22 01:22:27 -05:00
|
|
|
../../modules/discord.nix
|
2024-07-24 13:16:58 -05:00
|
|
|
../../modules/gaming.nix
|
2024-07-22 01:22:27 -05:00
|
|
|
../../modules/rbw.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
virtualisation.docker.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
users.users.usr.extraGroups = [
|
|
|
|
"docker"
|
2024-07-22 22:14:13 -05:00
|
|
|
"adbusers"
|
2024-07-22 01:22:27 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
wine
|
|
|
|
xdotool
|
|
|
|
|
|
|
|
qemu
|
|
|
|
virt-manager
|
|
|
|
libreoffice
|
|
|
|
nomacs
|
|
|
|
vscodium
|
|
|
|
thunderbird
|
|
|
|
libreoffice
|
|
|
|
texliveMedium
|
|
|
|
ledger
|
2024-07-22 15:12:19 -05:00
|
|
|
|
|
|
|
unzip
|
|
|
|
imagemagick
|
2024-07-22 22:14:13 -05:00
|
|
|
pciutils
|
|
|
|
usbutils
|
2024-07-22 01:22:27 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
services.hardware.bolt.enable = true; # thunderbolt support
|
|
|
|
hardware.bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
General = {
|
|
|
|
Enable = "Source,Sink,Media,Socket";
|
|
|
|
ControllerMode = "bredr";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
boot.loader = {
|
|
|
|
efi = {
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
efiSysMountPoint = "/boot";
|
|
|
|
};
|
|
|
|
grub = {
|
|
|
|
efiSupport = true;
|
|
|
|
device = "nodev";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.printing.enable = true;
|
|
|
|
services.avahi.enable = true; # runs the Avahi daemon
|
|
|
|
services.avahi.nssmdns4 = true; # enables the mDNS NSS plug-in
|
|
|
|
services.avahi.openFirewall = true; # opens the firewall for UDP port 5353
|
|
|
|
|
2024-07-22 22:14:13 -05:00
|
|
|
programs.adb.enable = true;
|
|
|
|
|
2024-07-22 01:22:27 -05:00
|
|
|
powerManagement.cpuFreqGovernor = "performance";
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
networking = {
|
|
|
|
hostName = "copernicus";
|
|
|
|
firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowedTCPPorts = [ 6000 ];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "24.05"; # don't change this, lol
|
|
|
|
}
|