home-environment: use DAG type in activation option

This commit is contained in:
Robert Helgesson 2020-01-14 23:45:18 +01:00
parent 6c127efb2d
commit 7f87329fca
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 4 additions and 3 deletions

View file

@ -7,6 +7,7 @@ let
cfg = config.home;
dag = config.lib.dag;
dagOf = (import ./lib/types.nix { inherit dag lib; }).dagOf;
languageSubModule = types.submodule {
options = {
@ -235,8 +236,8 @@ in
home.activation = mkOption {
internal = true;
type = dagOf types.str;
default = {};
type = types.attrs;
description = ''
Activation scripts for the home environment.
</para><para>