formatting
This commit is contained in:
parent
79ed3822d9
commit
21add68cc1
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue