commit 54dc4428f604a456d50b7d1e31c3802e683412d4 parent d405906b40684c40ad0616bd6c8ea7e9dfee95f3 Author: Nikolay Korotkiy <sikmir@gmail.com> Date: Mon, 26 Oct 2020 23:37:28 +0300 Fix modules import Diffstat:
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/modules/home-manager/programs/aerc.nix b/modules/home-manager/programs/aerc.nix @@ -66,7 +66,7 @@ in home.packages = [ cfg.package ]; home.activation = { - accountsConf = config.lib.dag.entryAfter [ "writeBoundary" ] activationScript; + accountsConf = lib.hm.dag.entryAfter [ "writeBoundary" ] activationScript; }; }; } diff --git a/modules/home-manager/programs/gpxsee.nix b/modules/home-manager/programs/gpxsee.nix @@ -69,10 +69,10 @@ in config = mkIf cfg.enable ( mkMerge [ { - home.packages = [ cfg.package pkgs.qtpbfimageplugin ]; + home.packages = [ cfg.package ]; home.activation.hideToolbar = - config.lib.dag.entryAfter [ "writeBoundary" ] + lib.hm.dag.entryAfter [ "writeBoundary" ] ( if pkgs.stdenv.isDarwin then "$DRY_RUN_CMD /usr/bin/defaults write ${domain} Settings.toolbar -bool false" @@ -83,7 +83,7 @@ in ( mkIf pkgs.stdenv.isLinux { - home.activation.createConfigFile = config.lib.dag.entryBefore [ "writeBoundary" ] '' + home.activation.createConfigFile = lib.hm.dag.entryBefore [ "writeBoundary" ] '' $DRY_RUN_CMD mkdir -p ${configDir} $DRY_RUN_CMD touch ${configFile} ''; diff --git a/modules/home-manager/programs/openorienteering-mapper.nix b/modules/home-manager/programs/openorienteering-mapper.nix @@ -30,7 +30,7 @@ in ( mkIf pkgs.stdenv.isLinux { - home.activation.createConfigFile = config.lib.dag.entryAfter [ "writeBoundary" ] '' + home.activation.createConfigFile = lib.hm.dag.entryAfter [ "writeBoundary" ] '' $DRY_RUN_CMD mkdir -p ${configDir} $DRY_RUN_CMD touch ${configFile} ''; @@ -39,7 +39,7 @@ in { home.activation.tipsVisible = - config.lib.dag.entryAfter [ "writeBoundary" ] + lib.hm.dag.entryAfter [ "writeBoundary" ] ( if pkgs.stdenv.isDarwin then "$DRY_RUN_CMD /usr/bin/defaults write ${domain} HomeScreen.tipsVisible -bool false" diff --git a/modules/home-manager/programs/qmapshack.nix b/modules/home-manager/programs/qmapshack.nix @@ -54,7 +54,7 @@ in ( mkIf pkgs.stdenv.isLinux { - home.activation.createConfigFile = config.lib.dag.entryBefore [ "writeBoundary" ] '' + home.activation.createConfigFile = lib.hm.dag.entryBefore [ "writeBoundary" ] '' $DRY_RUN_CMD mkdir -p ${configDir} $DRY_RUN_CMD touch ${configFile} ''; @@ -64,7 +64,7 @@ in ( mkIf (length cfg.demPackages > 0) { home.activation.setupDemPaths = - config.lib.dag.entryAfter [ "writeBoundary" ] + lib.hm.dag.entryAfter [ "writeBoundary" ] ( if pkgs.stdenv.isDarwin then "$DRY_RUN_CMD /usr/bin/defaults write ${domain} Canvas.demPaths -array ${toString cfg.demPackages}" @@ -77,7 +77,7 @@ in ( mkIf (length cfg.mapPackages > 0) { home.activation.setupMapPaths = - config.lib.dag.entryAfter [ "writeBoundary" ] + lib.hm.dag.entryAfter [ "writeBoundary" ] ( if pkgs.stdenv.isDarwin then "$DRY_RUN_CMD /usr/bin/defaults write ${domain} Canvas.mapPath -array ${toString cfg.mapPackages}" @@ -90,7 +90,7 @@ in ( mkIf (length cfg.routinoPackages > 0) { home.activation.setupRoutinoPaths = - config.lib.dag.entryAfter [ "writeBoundary" ] + lib.hm.dag.entryAfter [ "writeBoundary" ] ( if pkgs.stdenv.isDarwin then "$DRY_RUN_CMD /usr/bin/defaults write ${domain} Route.routino.paths -array ${toString cfg.routinoPackages}"