Update XDG config and distributed builds settings
- Add mimeapps.list creation for KDE desktops in default.nix - Modify distributed builds settings for local-machine.nix - Update supportedFeatures and add speedFactor, maxJobs in local-machine.nix.
This commit is contained in:
parent
00c79f239d
commit
d1675f0dd8
|
@ -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";
|
||||
|
||||
|
|
|
@ -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" ];
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue