moving to code server

This commit is contained in:
specCon18 2024-04-10 03:42:16 -04:00
parent c545378c35
commit 786ca732aa
4 changed files with 31 additions and 27 deletions

View file

@ -10,7 +10,6 @@
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
boot.plymouth.enable = true;
# Localization
time.timeZone = "America/Detroit";
i18n = {

View file

@ -7,8 +7,11 @@
networkmanager.enable = true; #Enable Network Manager
firewall = {
checkReversePath = "loose";
allowedTCPPorts = [];
allowedUDPPorts = [];
allowedTCPPorts = [8081];
allowedUDPPorts = [
8081
2053
];
};
};
}

View file

@ -1,6 +1,7 @@
{ modulesPath, config, pkgs, lib, self, ... }:
{
environment.systemPackages = with pkgs; [
gparted
bluez
blueman
nerdfonts
@ -27,5 +28,6 @@
spotify
zulip
vscode
pkgs.python311Packages.python-kasa
];
}

View file

@ -7,10 +7,10 @@ config
let
# To use this feature add -j0 to any nix commad.
hostName = "10.18.1.60";
pubKey = "bob:cday7vAQb+UWE1gQOAOjqnXB8EdjkBt+/Ife/R0ylUY=";
pubKey = "bob:Ome3wEzBur1kOkifxu9ZMbfhwLgvr5J8qfOZRDdvz3Q=";
in {
nix = {
distributedBuilds = true;
distributedBuilds = false;
settings = {
trusted-public-keys = lib.mkAfter [
pubKey
@ -28,25 +28,25 @@ in {
# "nix-ssh"
# ];
};
buildMachines = [
{
inherit hostName;
protocol = "ssh-ng";
maxJobs = 8;
systems = [
"x86_64-linux"
"i686-linux"
];
supportedFeatures = [
"big-parallel"
"nixos-test"
"kvm"
"benchmark"
];
sshUser = "root";
sshKey = "/root/.ssh/id_ed25519";
# publicHostKey =
}
];
# buildMachines = [
# {
# inherit hostName;
# protocol = "ssh-ng";
# maxJobs = 8;
# systems = [
# "x86_64-linux"
# "i686-linux"
# ];
# supportedFeatures = [
# "big-parallel"
# "nixos-test"
# "kvm"
# "benchmark"
# ];
# sshUser = "builder";
# sshKey = "/root/.ssh/id_ed25519";
# # publicHostKey =
# }
# ];
};
}