Compare commits

...

2 commits

Author SHA1 Message Date
caandt 208baf5b55 the return of coq 2025-03-10 01:48:14 -05:00
caandt 21add68cc1 formatting 2025-03-07 23:56:27 -06:00
3 changed files with 25 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";

View file

@ -23,6 +23,8 @@ lib.mkIf config.u.has.prog {
patchelf patchelf
lazygit lazygit
pyp pyp
coq
coqPackages.coqide
] ]
++ lib.optionals config.u.has.graphical [ ++ lib.optionals config.u.has.graphical [
(cutter.withPlugins (ps: with ps; [jsdec rz-ghidra sigdb])) (cutter.withPlugins (ps: with ps; [jsdec rz-ghidra sigdb]))