From 552487bdc50b1ba8a168c6444d536244b6ffec58 Mon Sep 17 00:00:00 2001 From: Patrick Menking Date: Tue, 17 Sep 2024 15:47:16 -0400 Subject: [PATCH] Home-manager changes --- modules/home/crow/home.nix | 3 ++- modules/home/default.nix | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/modules/home/crow/home.nix b/modules/home/crow/home.nix index e8a5c23..ece556b 100644 --- a/modules/home/crow/home.nix +++ b/modules/home/crow/home.nix @@ -1,7 +1,8 @@ {config, inputs, pkgs, lib, ...}: { config.home-manager = lib.mkIf config.users.crow.home.enable { - enable = true; + useGlobalPkgs = true; + useUserPackages = true; users.crow = { home = { username = "crow"; diff --git a/modules/home/default.nix b/modules/home/default.nix index 069e566..5d21452 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -1,5 +1,8 @@ -{ config, ... }: { - imports = [ - ./crow/home.nix - ]; +{ config, lib, ... }: { + + config.home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + users.crow = lib.mkIf config.users.crow.home.enable ./crow/home.nix; + }; }