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