formatting

This commit is contained in:
caandt 2025-03-07 23:56:27 -06:00
parent 79ed3822d9
commit 21add68cc1
2 changed files with 23 additions and 19 deletions

View file

@ -1,22 +1,25 @@
{...}: let
mkProfiles = profiles: builtins.listToAttrs (map (p: {
name = "librewolf-${p}";
value = {
exec = "librewolf -P ${p}";
icon = "librewolf";
name = "Librewolf (${p})";
mimeType = [
"text/html"
"text/xml"
"application/xhtml+xml"
"x-scheme-handler/http"
"x-scheme-handler/https"
"application/x-xpinstall"
"application/pdf"
"application/json"
];
};
}) profiles); in {
mkProfiles = profiles:
builtins.listToAttrs (map (p: {
name = "librewolf-${p}";
value = {
exec = "librewolf -P ${p}";
icon = "librewolf";
name = "Librewolf (${p})";
mimeType = [
"text/html"
"text/xml"
"application/xhtml+xml"
"x-scheme-handler/http"
"x-scheme-handler/https"
"application/x-xpinstall"
"application/pdf"
"application/json"
];
};
})
profiles);
in {
xdg.desktopEntries = mkProfiles [
"default"
"personal"

View file

@ -3,7 +3,8 @@
lib,
pkgs,
...
}: lib.mkIf (config.networking.hostName != "komikan") {
}:
lib.mkIf (config.networking.hostName != "komikan") {
environment.systemPackages = [pkgs.cifs-utils];
security.wrappers."mount.cifs" = {
program = "mount.cifs";