combine home-manager and system configs

This commit is contained in:
Noah Masur
2022-04-28 21:15:47 -04:00
parent b922cd8f09
commit 7296c0fefc
4 changed files with 21 additions and 22 deletions

View File

@ -1,5 +1,5 @@
{ pkgs, ... }:
{ pkgs, lib, user, gui, ... }:
{
home.packages = with pkgs; [ firefox ];
home-manager.users.${user}.home.packages = [ (lib.mkIf gui pkgs.firefox) ];
}