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

View file

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