2024-07-22 01:22:27 -05:00
|
|
|
{ lib, config, pkgs, ...}:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./nvidia.nix
|
2024-10-27 22:48:02 -05:00
|
|
|
./services
|
2024-08-15 03:11:25 -05:00
|
|
|
../x230t/special-ssh-magic.nix
|
2024-07-22 01:22:27 -05:00
|
|
|
../../modules/ssh-phone-home.nix
|
|
|
|
../../modules/hosts.nix
|
|
|
|
../../modules/bootstrap.nix
|
|
|
|
../../modules/common.nix
|
|
|
|
../../modules/x11.nix
|
|
|
|
../../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
|
2024-10-27 18:37:28 -05:00
|
|
|
kdePackages.kdenlive
|
2024-11-04 00:13:01 -06:00
|
|
|
audacity
|
|
|
|
bespokesynth
|
|
|
|
puddletag
|
|
|
|
musescore
|
2024-10-27 18:37:28 -05:00
|
|
|
unzip
|
2024-07-22 01:22:27 -05:00
|
|
|
ledger
|
2024-07-22 15:12:19 -05:00
|
|
|
|
|
|
|
unzip
|
|
|
|
imagemagick
|
2024-07-22 22:14:13 -05:00
|
|
|
pciutils
|
|
|
|
usbutils
|
2024-08-04 18:43:03 -05:00
|
|
|
pwvucontrol
|
2024-08-11 14:23:01 -05:00
|
|
|
|
|
|
|
dunst
|
|
|
|
libnotify
|
2024-08-15 03:11:25 -05:00
|
|
|
ffmpeg
|
2024-09-02 17:25:11 -05:00
|
|
|
mdadm
|
2024-09-09 01:07:06 -05:00
|
|
|
git-annex
|
2024-10-21 20:34:00 -05:00
|
|
|
tigervnc
|
2024-08-26 17:40:32 -05:00
|
|
|
|
|
|
|
(pkgs.callPackage ../../builds/archutils.nix {})
|
2024-11-04 02:31:48 -06:00
|
|
|
(pkgs.callPackage ../../builds/sssg.nix {})
|
2024-07-22 01:22:27 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
services.hardware.bolt.enable = true; # thunderbolt support
|
|
|
|
hardware.bluetooth = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
General = {
|
2024-08-11 14:23:01 -05:00
|
|
|
AutoEnable = true;
|
2024-07-22 01:22:27 -05:00
|
|
|
Enable = "Source,Sink,Media,Socket";
|
|
|
|
ControllerMode = "bredr";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-25 19:09:11 -05:00
|
|
|
virtualisation.virtualbox.host.enable = true;
|
|
|
|
|
2024-07-22 01:22:27 -05:00
|
|
|
boot.loader = {
|
|
|
|
efi = {
|
|
|
|
canTouchEfiVariables = true;
|
|
|
|
efiSysMountPoint = "/boot";
|
|
|
|
};
|
|
|
|
grub = {
|
|
|
|
efiSupport = true;
|
|
|
|
device = "nodev";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-10-27 18:37:28 -05:00
|
|
|
services = {
|
|
|
|
# enable printing
|
|
|
|
printing.enable = true;
|
|
|
|
avahi = {
|
|
|
|
enable = true; # runs the Avahi daemon
|
|
|
|
nssmdns4 = true; # enables the mDNS NSS plug-in
|
|
|
|
openFirewall = true; # opens the firewall for UDP port 5353
|
|
|
|
};
|
2024-07-22 01:22:27 -05:00
|
|
|
|
2024-10-27 18:37:28 -05:00
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
|
|
|
alsa = {
|
|
|
|
enable = true;
|
|
|
|
support32Bit = true;
|
|
|
|
};
|
|
|
|
pulse.enable = true;
|
|
|
|
};
|
2024-08-04 18:43:03 -05:00
|
|
|
};
|
|
|
|
|
2024-10-27 18:37:28 -05:00
|
|
|
|
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;
|
2024-10-27 22:59:13 -05:00
|
|
|
interfaces = {
|
|
|
|
eno1 = {
|
|
|
|
allowedTCPPorts = [ 6000 ];
|
|
|
|
allowedTCPPortRanges = [
|
|
|
|
{ from = 1714; to = 1764; } # KDE Connect
|
2024-11-13 21:55:58 -06:00
|
|
|
{ from = 10000; to = 10100; } # temp stuff
|
2024-10-27 22:59:13 -05:00
|
|
|
];
|
|
|
|
allowedUDPPortRanges = [
|
|
|
|
{ from = 1714; to = 1764; } # KDE Connect
|
|
|
|
];
|
|
|
|
};
|
|
|
|
wg0 = {
|
|
|
|
# allow everything bound to the wg0 interface
|
|
|
|
allowedTCPPortRanges = [
|
|
|
|
{ from = 1; to = 35565; }
|
|
|
|
];
|
|
|
|
allowedUDPPortRanges = [
|
|
|
|
{ from = 1; to = 35565; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-07-22 01:22:27 -05:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-08-11 14:23:01 -05:00
|
|
|
programs.kdeconnect.enable = true;
|
|
|
|
|
2024-07-22 01:22:27 -05:00
|
|
|
system.stateVersion = "24.05"; # don't change this, lol
|
|
|
|
}
|