Use nixosModules and homeManagerModules for config

This commit is contained in:
Oliver Davies 2025-03-05 15:09:06 +00:00
parent 88a054f3b4
commit 2de0e1a2d6
46 changed files with 151 additions and 190 deletions

View file

@ -9,12 +9,12 @@
with lib;
let
cfg = config.features.homelab.beaverhabits;
cfg = config.nixosModules.beaverhabits;
port = 8084;
in
{
options.features.homelab.beaverhabits.enable = mkEnableOption "Enable beaverhabits";
options.nixosModules.beaverhabits.enable = mkEnableOption "Enable beaverhabits";
config = mkIf cfg.enable {
virtualisation = {