mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 15:00:14 +00:00
combine home-manager and system configs
This commit is contained in:
@ -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) ];
|
||||
}
|
||||
|
Reference in New Issue
Block a user