add portal to configpackages?
This commit is contained in:
parent
2c7eefe6fb
commit
d762eb72f8
2 changed files with 16 additions and 10 deletions
|
|
@ -135,11 +135,18 @@ in
|
|||
username = me.nickname;
|
||||
};
|
||||
|
||||
# If I have a monitor I want niri with my config, but niri wants it at that spot
|
||||
xdg.configFile = lib.mkIf enableGraphical {
|
||||
"niri/config.kdl".source = import ../../packages/niri-config/default.nix {
|
||||
inherit pkgs inputs displays;
|
||||
self-pkgs = inputs.self.packages.${pkgs.system};
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
|
||||
configPackages = [ pkgs.niri ];
|
||||
};
|
||||
# If I have a monitor I want niri with my config, but niri wants it at that spot
|
||||
configFile = lib.mkIf enableGraphical {
|
||||
"niri/config.kdl".source = import ../../packages/niri-config/default.nix {
|
||||
inherit pkgs inputs displays;
|
||||
self-pkgs = inputs.self.packages.${pkgs.system};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -173,11 +173,10 @@
|
|||
maple-mono-NF
|
||||
];
|
||||
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
|
||||
};
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
|
||||
configPackages = [ pkgs.niri ];
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue