From cc6248790215e93f5806a8e644e9eb4fe969bf86 Mon Sep 17 00:00:00 2001 From: Patrick Menking Date: Tue, 17 Sep 2024 14:44:32 -0400 Subject: [PATCH] Maybe this? --- modules/home/crow/home.nix | 2 +- modules/home/default.nix | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) 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 ; - ]; }