enable ozone for a few electron apps
- obsidian - vesktop had to manually recreate the shortcuts with --disable-gpu nvidia fuck you
This commit is contained in:
parent
0118432753
commit
38bed5d6d8
@ -14,8 +14,7 @@ in
|
|||||||
|
|
||||||
xdg.desktopEntries.vesktop = lib.mkIf config.nixfiles.meta.graphical {
|
xdg.desktopEntries.vesktop = lib.mkIf config.nixfiles.meta.graphical {
|
||||||
categories= ["Network" "InstantMessaging" "Chat"];
|
categories= ["Network" "InstantMessaging" "Chat"];
|
||||||
# exec="env NIXOS_OZONE_WL=1 vesktop %U";
|
exec="env NIXOS_OZONE_WL=1 vesktop --disable-gpu %U";
|
||||||
exec="vesktop %U";
|
|
||||||
genericName="Internet Messenger";
|
genericName="Internet Messenger";
|
||||||
icon="vesktop";
|
icon="vesktop";
|
||||||
name="Vesktop";
|
name="Vesktop";
|
||||||
|
@ -11,6 +11,16 @@ in
|
|||||||
] ++ [
|
] ++ [
|
||||||
pandoc
|
pandoc
|
||||||
];
|
];
|
||||||
|
|
||||||
|
xdg.desktopEntries.obsidian = lib.mkIf config.nixfiles.meta.graphical {
|
||||||
|
categories = [ "Office" ];
|
||||||
|
comment = "Knowledge base";
|
||||||
|
exec = "env NIXOS_OZONE_WL=1 obsidian --disable-gpu %u";
|
||||||
|
icon = "obsidian";
|
||||||
|
mimeType = [ "x-scheme-handler/obsidian" ];
|
||||||
|
name = "Obsidian";
|
||||||
|
type = "Application";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
options.nixfiles.packageSets.productivity.enable = lib.mkEnableOption "the productivity package set";
|
options.nixfiles.packageSets.productivity.enable = lib.mkEnableOption "the productivity package set";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user