15 Commits

Author SHA1 Message Date
javalsai 931ee4f862 docs: add sections and fix typos/errors 2026-05-04 01:16:33 +02:00
ErrorNoInternet 81ae20f672 treewide: initialize npins
Check / Nix flake (push) Failing after 9s
Lint / Nix expressions (push) Failing after 11s
2026-05-03 19:14:24 -04:00
ErrorNoInternet 5a03f66a34 treewide: refactor code 2026-05-03 19:14:24 -04:00
javalsai a5b2e46586 nixos/security: add acme through dns challenge
few side refactors of this:
- no more `dns.domain`, it all must rely on `fqdn`, prevents
  inconsistencies.
- also added an specific host `tuxcord-acmetest` that uses the key zone
  for `nix.tuxcord.net` to test certificate pulling.
2026-05-03 19:13:21 -04:00
javalsai 64c1ea18e0 docs: document installation, secrets and setup steps
Check / Nix flake (push) Failing after 8s
Lint / Nix expressions (push) Failing after 10s
2026-05-03 19:13:21 -04:00
javalsai 1a866719ea nixos/services: make dns configuration easier 2026-05-03 19:13:21 -04:00
javalsai a0125116cd nixos/service: add dns (bind named server) 2026-05-03 19:12:19 -04:00
javalsai 2c6ea390f0 nixos/programs: add bind utils 2026-05-03 18:25:42 -04:00
javalsai 78df628955 nixos/services: add gitea server
Check / Nix flake (push) Failing after 9s
Lint / Nix expressions (push) Failing after 11s
2026-05-03 18:25:42 -04:00
javalsai fae8f3580a nixos/services: add nginx base configuration 2026-05-03 18:25:42 -04:00
javalsai b6e8297085 nixos/networking: add own fqdn to extraHosts 2026-05-03 13:38:03 -04:00
javalsai 8864af1ddf nixos/hosts: add tuxcord-vm host configuration 2026-05-03 13:37:25 -04:00
ErrorNoInternet 5942c97c1c nixos: separate openssh firewall port
Check / Nix flake (push) Failing after 8s
Lint / Nix expressions (push) Failing after 11s
2026-05-03 11:29:25 -04:00
javalsai 1c2f11debc lib/ssh: add more ssh keys
Check / Nix flake (push) Failing after 9s
Lint / Nix expressions (push) Failing after 10s
2026-05-02 19:13:36 -04:00
javalsai 4d55336eeb nixos/vm: enable qemu netork bridge 2026-05-02 18:01:29 -04:00
3 changed files with 2 additions and 28 deletions
-8
View File
@@ -10,14 +10,6 @@
PermitRootLogin = "no";
};
};
<<<<<<< HEAD
networking.firewall.allowedTCPPorts = [ 22 ];
||||||| parent of 1c2f11d (lib/ssh: add more ssh keys)
users.users.root.openssh.authorizedKeys.keys = builtins.attrValues {
inherit (import "${self}/lib/ssh/keys.nix") error javalsai;
};
=======
>>>>>>> 1c2f11d (lib/ssh: add more ssh keys)
}
+2 -2
View File
@@ -7,8 +7,8 @@
memorySize = 4096;
qemu.networkingOptions = lib.mkForce [
"-nic bridge,br=virbr0,id=hn0,model=virt-net-pci,helper=\${QEMU_BRIDGE_HELPER_PATH}"
"-device virtio-net-pci,netdev=hn0,id=nic1,\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
"-net nic,netdev=user.0,model=virtio"
"-netdev user,id=user.0,\${QEMU_NET_OPTS:+,$QEMU_NET_OPTS}"
];
};
}
-18
View File
@@ -5,24 +5,6 @@
{
devShells.default = pkgs.mkShell {
name = "configuration.nix";
shellHook = ''
for path in \
/usr/lib/qemu/qemu-bridge-helper \
/run/wrappers/bin/qemu-bridge-helper
do
if [ -x "$path" ]; then
export QEMU_BRIDGE_HELPER_PATH="$path"
break
fi
done
if [ -z "$QEMU_BRIDGE_HELPER_PATH" ]; then
printf "\033[1;33m%s\033[0m\n" \
"WARN: 'qemu-bridge-helper' not found, make sure it is installed and the nix shell hook is looking for it" >&2
fi
'';
packages = with pkgs; [
bat
cachix