From 21add68cc1f739a76cf750d851576dbc659618c3 Mon Sep 17 00:00:00 2001 From: caandt Date: Fri, 7 Mar 2025 23:56:27 -0600 Subject: [PATCH] formatting --- hosts/hyuganatsu/users/ahnwuoa/browser.nix | 39 ++++++++++++---------- system/mnt.nix | 3 +- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/hosts/hyuganatsu/users/ahnwuoa/browser.nix b/hosts/hyuganatsu/users/ahnwuoa/browser.nix index 75fb5f3..fb7a2b0 100644 --- a/hosts/hyuganatsu/users/ahnwuoa/browser.nix +++ b/hosts/hyuganatsu/users/ahnwuoa/browser.nix @@ -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" diff --git a/system/mnt.nix b/system/mnt.nix index d054009..6b7e345 100644 --- a/system/mnt.nix +++ b/system/mnt.nix @@ -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";