niri overlay makes more sense in niri module
This commit is contained in:
parent
9f7438a3dc
commit
3d6eba3131
3 changed files with 10 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, config, pkgs, ... }: let
|
||||
{ inputs, lib, config, pkgs, ... }: let
|
||||
inherit (lib) mkIf;
|
||||
inherit (config) withNiri username;
|
||||
in {
|
||||
|
@ -7,6 +7,10 @@ in {
|
|||
];
|
||||
|
||||
config = mkIf withNiri {
|
||||
nixpkgs.overlays = mkIf config.withNiri [
|
||||
inputs.niri.overlays.niri
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue