refactor(hosts): simplify configuration imports across hosts

This commit is contained in:
tux
2026-05-13 04:33:14 +05:30
parent 71aaf2d392
commit b649b974fa
15 changed files with 137 additions and 98 deletions

View File

@@ -3,22 +3,15 @@
flake.modules.nixos.vps =
{
hostName,
modulesPath,
...
}:
{
imports =
with config.flake.modules.nixos;
[
boot
hardware
networking
virtualisation
services
]
++ [
(modulesPath + "/profiles/qemu-guest.nix")
];
imports = with config.flake.modules.nixos; [
boot
networking
virtualisation
services
];
tnix = {
boot = {