diff --git a/home/common/optional/desktop/common/xdg/default.nix b/home/common/optional/desktop/common/xdg/default.nix index 32685a3..82c4c29 100644 --- a/home/common/optional/desktop/common/xdg/default.nix +++ b/home/common/optional/desktop/common/xdg/default.nix @@ -1,4 +1,5 @@ -{pkgs, ...}: { +{pkgs, config, lib, ...}: { + xdg.desktopEntries = { firefox = { name = "Firefox"; @@ -31,8 +32,11 @@ }; }; + # Forces creation of mimeapps.list if hm link has been overwritten by another application + # https://discourse.nixos.org/t/home-manager-and-the-mimeapps-list-file-on-plasma-kde-desktops/37694 + xdg.configFile."mimeapps.list" = lib.mkIf config.xdg.mimeApps.enable { force = true; }; xdg.mimeApps = { - enable = true; + enable = lib.mkDefault true; defaultApplications = { "application/pdf" = "zathura-wrapper.desktop"; diff --git a/hosts/common/optional/distributed_builds/local-machine.nix b/hosts/common/optional/distributed_builds/local-machine.nix index 277a223..78773ca 100644 --- a/hosts/common/optional/distributed_builds/local-machine.nix +++ b/hosts/common/optional/distributed_builds/local-machine.nix @@ -10,9 +10,11 @@ in { hostName = remoteMachineIp; sshUser = "remotebuild"; + speedFactor = 1; + maxJobs = 10; sshKey = "/root/.ssh/remotebuild"; system = pkgs.stdenv.hostPlatform.system; - supportedFeatures = [ "nixos-test" "big-parallel" "kvm" ]; + supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ]; } ];