Nix configurations for my personal machines (Linux & macOS)
at main 971 B view raw
1{ 2 delib, 3 moduleSystem, 4 pkgs, 5 lib, 6 ... 7}: 8delib.module { 9 name = "xdg"; 10 11 home.always = let 12 vivalarc = pkgs.fetchFromGitHub { 13 owner = "tovifun"; 14 repo = "VivalArc"; 15 rev = "7ee09e9efb46c1524a43f0cb6763b9750db6e81c"; 16 hash = "sha256-xYSxB8KjcbeUDEdbA2AJ9FeQC1TkqyXdB9rTMMSm+FA="; 17 }; 18 in ({ 19 xdg.dataFile."vivalarc".source = vivalarc; 20 xdg.configFile."karabiner/assets/complex_modifications/keybind-helpers.json".source = ../files/karabiner/keybind-helpers.json; 21 } 22 // lib.optionalAttrs (moduleSystem == "nixos") { 23 xdg.desktopEntries.davinci-resolve = { 24 name = "Davinci Resolve"; 25 exec = "davinci-resolve"; 26 categories = ["AudioVideo" "AudioVideoEditing" "Video" "Graphics"]; 27 comment = "Professional video editing, color, effects and audio post-processing"; 28 genericName = "Video Editor"; 29 type = "Application"; 30 settings.Version = "1.4"; 31 }; 32 }); 33}