mirror of
https://codeberg.org/icewind/galton.git
synced 2026-06-03 10:24:07 +02:00
homemanager module
This commit is contained in:
parent
09de7e6f00
commit
0e572744bf
5 changed files with 108 additions and 5 deletions
14
flake.nix
14
flake.nix
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue