homemanager module

This commit is contained in:
Robin Appelman 2025-10-13 20:10:18 +02:00
commit 0e572744bf
5 changed files with 108 additions and 5 deletions

View file

@ -24,5 +24,19 @@
packages = {
galton = pkgs: pkgs.galton;
};
homeModules = {
default = {
pkgs,
config,
lib,
...
}: {
imports = [./nix/hm-module.nix];
config = lib.mkIf config.services.galton.enable {
services.galton.package = lib.mkDefault pkgs.galton;
};
};
};
};
}