feat(nixos): add machine module with virtualisation and usb options

This commit is contained in:
Mohammad Rafiq 2025-07-07 19:04:17 +08:00
parent e097d3e688
commit 3bffa8760e
No known key found for this signature in database
5 changed files with 81 additions and 54 deletions

View file

@ -2,8 +2,15 @@ let
testCfg =
{ hostName, ... }:
{
boot.loader.systemd-boot.enable = true;
networking = { inherit hostName; };
machine = {
bluetooth.enable = true;
usb.automount = true;
virtualisation.podman = {
enable = true;
distrobox.enable = true;
};
};
};
in
{