Something went wrong. Try again.
Tangled infrastructure definitions in Nix
Something went wrong. Try again.
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657{ modulesPath, lib, pkgs, commonArgs, ...}: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") (modulesPath + "/profiles/qemu-guest.nix") ];
boot.loader.grub = { efiSupport = true; efiInstallAsRemovable = true; };
services.openssh.enable = true;
services.prometheus.exporters.node = { enable = true; openFirewall = false; }; networking.firewall.interfaces."tailscale0".allowedTCPPorts = [ 9100 ];
nix.extraOptions = '' experimental-features = nix-command flakes ca-derivations warn-dirty = false keep-outputs = false '';
environment.systemPackages = map lib.lowPrio [ pkgs.curl pkgs.gitMinimal pkgs.htop pkgs.neovim ];
users.users.tangler = { extraGroups = ["networkmanager" "wheel"]; openssh.authorizedKeys.keys = commonArgs.sshKeys; isNormalUser = true; };
security.sudo.extraRules = [ { users = ["tangler"]; commands = [ { command = "ALL"; options = ["NOPASSWD"]; } ]; } ];}