moving to code server
This commit is contained in:
parent
c545378c35
commit
786ca732aa
4 changed files with 31 additions and 27 deletions
|
|
@ -10,7 +10,6 @@
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
boot.plymouth.enable = true;
|
|
||||||
# Localization
|
# Localization
|
||||||
time.timeZone = "America/Detroit";
|
time.timeZone = "America/Detroit";
|
||||||
i18n = {
|
i18n = {
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,11 @@
|
||||||
networkmanager.enable = true; #Enable Network Manager
|
networkmanager.enable = true; #Enable Network Manager
|
||||||
firewall = {
|
firewall = {
|
||||||
checkReversePath = "loose";
|
checkReversePath = "loose";
|
||||||
allowedTCPPorts = [];
|
allowedTCPPorts = [8081];
|
||||||
allowedUDPPorts = [];
|
allowedUDPPorts = [
|
||||||
|
8081
|
||||||
|
2053
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{ modulesPath, config, pkgs, lib, self, ... }:
|
{ modulesPath, config, pkgs, lib, self, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
gparted
|
||||||
bluez
|
bluez
|
||||||
blueman
|
blueman
|
||||||
nerdfonts
|
nerdfonts
|
||||||
|
|
@ -27,5 +28,6 @@
|
||||||
spotify
|
spotify
|
||||||
zulip
|
zulip
|
||||||
vscode
|
vscode
|
||||||
|
pkgs.python311Packages.python-kasa
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,10 @@ config
|
||||||
let
|
let
|
||||||
# To use this feature add -j0 to any nix commad.
|
# To use this feature add -j0 to any nix commad.
|
||||||
hostName = "10.18.1.60";
|
hostName = "10.18.1.60";
|
||||||
pubKey = "bob:cday7vAQb+UWE1gQOAOjqnXB8EdjkBt+/Ife/R0ylUY=";
|
pubKey = "bob:Ome3wEzBur1kOkifxu9ZMbfhwLgvr5J8qfOZRDdvz3Q=";
|
||||||
in {
|
in {
|
||||||
nix = {
|
nix = {
|
||||||
distributedBuilds = true;
|
distributedBuilds = false;
|
||||||
settings = {
|
settings = {
|
||||||
trusted-public-keys = lib.mkAfter [
|
trusted-public-keys = lib.mkAfter [
|
||||||
pubKey
|
pubKey
|
||||||
|
|
@ -28,25 +28,25 @@ in {
|
||||||
# "nix-ssh"
|
# "nix-ssh"
|
||||||
# ];
|
# ];
|
||||||
};
|
};
|
||||||
buildMachines = [
|
# buildMachines = [
|
||||||
{
|
# {
|
||||||
inherit hostName;
|
# inherit hostName;
|
||||||
protocol = "ssh-ng";
|
# protocol = "ssh-ng";
|
||||||
maxJobs = 8;
|
# maxJobs = 8;
|
||||||
systems = [
|
# systems = [
|
||||||
"x86_64-linux"
|
# "x86_64-linux"
|
||||||
"i686-linux"
|
# "i686-linux"
|
||||||
];
|
# ];
|
||||||
supportedFeatures = [
|
# supportedFeatures = [
|
||||||
"big-parallel"
|
# "big-parallel"
|
||||||
"nixos-test"
|
# "nixos-test"
|
||||||
"kvm"
|
# "kvm"
|
||||||
"benchmark"
|
# "benchmark"
|
||||||
];
|
# ];
|
||||||
sshUser = "root";
|
# sshUser = "builder";
|
||||||
sshKey = "/root/.ssh/id_ed25519";
|
# sshKey = "/root/.ssh/id_ed25519";
|
||||||
# publicHostKey =
|
# # publicHostKey =
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue