diff --git a/modules/home/crow/home.nix b/modules/home/crow/home.nix index b984d4b..b4dd842 100644 --- a/modules/home/crow/home.nix +++ b/modules/home/crow/home.nix @@ -1,4 +1,4 @@ -{inputs, pkgs, ...}: let +{config, inputs, pkgs, ...}: let username = "crow"; homeDirectory = "/home/${username}"; configHome = "${homeDirectory}/.config"; diff --git a/modules/home/default.nix b/modules/home/default.nix index b657a71..230f1f7 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -1,9 +1,8 @@ { config, ... }: { - imports = [ + imports = ( if config.users.crow.home.enable then - ./crow/home.nix + [./crow/home.nix] else [] ); # ++ ( to add more, just move the ; - ]; }