Setup roles as modules and switch to sway

This commit is contained in:
2024-09-08 13:49:28 -07:00
parent f22ff0e286
commit 692cebc839
14 changed files with 307 additions and 471 deletions

View File

@@ -1,6 +1,14 @@
{ config, ... }:
{ config, lib, ... }:
with lib;
{
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
options.roles.virtualisation = {
enable = mkEnableOption "Enable virtualisation";
};
config = {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
};
}