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 {
|
||||
categories= ["Network" "InstantMessaging" "Chat"];
|
||||
# exec="env NIXOS_OZONE_WL=1 vesktop %U";
|
||||
exec="vesktop %U";
|
||||
exec="env NIXOS_OZONE_WL=1 vesktop --disable-gpu %U";
|
||||
genericName="Internet Messenger";
|
||||
icon="vesktop";
|
||||
name="Vesktop";
|
||||
|
@ -11,6 +11,16 @@ in
|
||||
] ++ [
|
||||
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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user