Refactor things and make zippy an user node.

This commit is contained in:
2024-09-11 19:17:20 +01:00
parent 82ec765245
commit 93d59fe762
5 changed files with 28 additions and 15 deletions

View File

@@ -2,24 +2,15 @@
{
imports = [
../../common/global
../../common/nomad-client.nix
../../common/user-node.nix
../../common/dev-node.nix
./hardware.nix
];
networking.hostName = "nix-dev";
services.tailscaleAutoconnect.authkey = "tskey-auth-k6s6VD5CNTRL-3fmjSfzbQ3PHUMyaiML95P8xzmGv5XxYc";
environment.systemPackages = with pkgs; [
wget
git
nomad
deploy-rs
docker
jq
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
}

View File

@@ -3,6 +3,7 @@
imports = [
../../common/global
../../common/compute-node.nix
../../common/dev-node.nix
./hardware.nix
];