Compare commits

...

13 Commits

9 changed files with 33 additions and 5 deletions

View File

@@ -31,10 +31,6 @@
boot.kernelModules = ["rbd" "nbd" "ceph"];
# Make Ceph user-space tools available on the system
environment.systemPackages = with pkgs; [
];
networking.firewall.enable = false;
# networking.firewall.allowedTCPPorts = [
# 6443 # k3s: required so that pods can reach the API server (running on port 6443 by default)

View File

@@ -29,6 +29,8 @@
};
};
boot.kernelModules = ["rbd" "nbd"];
environment.systemPackages = with pkgs; [
kubernetes-helm
];

View File

@@ -21,7 +21,7 @@
<div id="date"></div>
<div class="search">
<form action="https://tanomu.momiko.moe" method="get" autocomplete="off">
<form action="https://duckduckgo.com" method="get" autocomplete="off">
<label for="q">></label>
<input autofocus id="q" name="q" placeholder="search.." type="search">
</form>

View File

@@ -222,6 +222,7 @@ alias verus-dir="cd /home/synchronous/code/verus"
alias cure="cd /home/synchronous/code/cure53"
alias scripts="cd /home/synchronous/nix-cfg/home/scripts"
alias bookmarks="vim -c '80' /home/synchronous/nix-cfg/home/programs/firefox/default.nix"
alias startpage="vim /home/synchronous/nix-cfg/home/programs/firefox/startpage/index.html"
stack() {
find . -type f -exec echo -e "\n--- {} ---\n" \; -exec cat {} \;

Binary file not shown.

View File

@@ -0,0 +1,24 @@
{
config,
pkgs,
...
}: {
nix.distributedBuilds = true;
# nix.extraOptions = ''
# builders-use-substitutes = true
# '';
nix.buildMachines = [
{
hostName = "server3-gpu"; # Must be resolvable or an IP
system = "x86_64-linux"; # The architecture of the builder
protocol = "ssh-ng"; # Optimized protocol
maxJobs = 4;
speedFactor = 2;
supportedFeatures = ["nixos-test" "benchmark" "big-parallel" "kvm"];
mandatoryFeatures = [];
sshUser = "synchronous";
sshKey = "/home/synchronous/.ssh/id_ed25519"; # Path to private key on client
}
];
}

View File

@@ -10,5 +10,6 @@
# ./resolved/default.nix (not enabled, in favor of dnsmasq)
./dnsmasq/default.nix
./printing.nix
./remote-builds.nix
];
}

View File

@@ -59,6 +59,8 @@
plugins."io.containerd.grpc.v1.cri".registry.configs."100.125.181.75:5000".tls.insecure_skip_verify = true;
};
nix.settings.trusted-users = ["synchronous" "root"];
programs.nix-ld.enable = true;
virtualisation.libvirtd.enable = true;

View File

@@ -80,6 +80,8 @@
#media-session.enable = true;
};
nix.settings.trusted-users = ["synchronous" "root"];
security.sudo = {
# me ne frego. i dare you to privilege escalate me
enable = true;