only apply overlays where needed

This commit is contained in:
twoneis 2024-07-21 03:27:42 +02:00
parent 15842977ad
commit 21739b152d
4 changed files with 11 additions and 12 deletions

View file

@ -1,5 +1,10 @@
{ lib, config, pkgs, ... }: lib.mkIf config.withNiri {
programs.niri.enable = true;
{ inputs, lib, config, pkgs, ... }: lib.mkIf config.withNiri {
nixpkgs.overlays = [ inputs.niri.overlays.niri ];
programs.niri = {
enable = true;
package = pkgs.niri-unstable;
};
home-manager.users.${config.username} = {
home.packages = with pkgs; [