Auto-commit: 2026-01-05 17:22:30
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
{ pkgs, inputs, ...}:
|
{ pkgs, inputs, nixosConfig, lib, ...}:
|
||||||
|
let
|
||||||
|
cfg = nixosConfig.my.desktop;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
xdg = {
|
xdg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
mime.enable = true;
|
mime.enable = cfg.enable;
|
||||||
mimeApps.enable = true;
|
mimeApps.enable = cfg.enable;
|
||||||
portal = {
|
portal = lib.mkIf cfg.enable {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland
|
||||||
|
|||||||
Reference in New Issue
Block a user