feat: ...get internet again. git-hooks.nix adopt

This commit is contained in:
Kat Inskip 2025-08-18 15:13:47 -07:00
parent 7a0f09e700
commit e00ec8f2f2
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
116 changed files with 1157 additions and 4681 deletions

View file

@ -1,5 +1,5 @@
{ lib, pkgs, ... }: let
inherit (lib.modules) mkForce;
{lib, ...} @ specyArgs: let
inherit (lib.attrsets) removeAttrs;
hostConfig = {
tree,
modulesPath,
@ -9,6 +9,10 @@
[
(modulesPath + "/profiles/qemu-guest.nix")
]
++ (with tree.nixos; [
container-host
microvm-host
])
++ (with tree.nixos.profiles; [
server
])
@ -22,6 +26,29 @@
web
]);
# TODO: Add config.microvm.stateDir to backup schedule?
# TODO: figure out updateFlake?
microvm = {
host.enable = true;
vms = {
syncthing = {
autostart = true;
specialArgs = removeAttrs specyArgs ["config" "pkgs" "lib"];
config = {
imports = [
tree.nixos.servers.syncthing
];
services = {
syncthing = {
enable = true;
};
};
};
restartIfChanged = true;
};
};
};
system.stateVersion = "23.11";
};
in {