Home: Add "paths" module
This commit is contained in:
14
home/modules/paths/default.nix
Normal file
14
home/modules/paths/default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
config,
|
||||
nixosConfig,
|
||||
lib,
|
||||
mylib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (config) paths;
|
||||
in {
|
||||
options.paths = import ./options.nix {inherit lib mylib;};
|
||||
|
||||
config = lib.mkIf paths.enable {};
|
||||
}
|
Reference in New Issue
Block a user