about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-03-23 21:52:00 +0100
committerSoispha <soispha@vhack.eu>2024-03-23 21:52:00 +0100
commit8057372f3d3e11a4af7ffeeca00bbe39ca0674a3 (patch)
treeef6d3c95aee944f724694a84309b1679f9a2b5c0
parentfeat(pkgs/scripts/spodi): Rewrite to support artist `update` (diff)
downloadnixos-config-8057372f3d3e11a4af7ffeeca00bbe39ca0674a3.tar.gz
nixos-config-8057372f3d3e11a4af7ffeeca00bbe39ca0674a3.zip
style(treewide): Format
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/firefox/default.nix3
-rw-r--r--hm/soispha/default.nix2
-rw-r--r--sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py18
-rw-r--r--sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md2
4 files changed, 14 insertions, 11 deletions
diff --git a/hm/soispha/conf/firefox/default.nix b/hm/soispha/conf/firefox/default.nix
index c8e0e2d9..f2ccfc99 100644
--- a/hm/soispha/conf/firefox/default.nix
+++ b/hm/soispha/conf/firefox/default.nix
@@ -6,8 +6,7 @@
   ...
 }: let
   extensions =
-    builtins.fromJSON (builtins.readFile
-      ./config/extensions/extensions.json);
+    builtins.fromJSON (builtins.readFile ./config/extensions/extensions.json);
 
   userChrome = builtins.readFile ./config/chrome/userChrome.css;
   bookmarks = (import ./config/bookmarks/default.nix) {
diff --git a/hm/soispha/default.nix b/hm/soispha/default.nix
index 9811f600..a6107898 100644
--- a/hm/soispha/default.nix
+++ b/hm/soispha/default.nix
@@ -36,8 +36,8 @@ in {
     enableNixpkgsReleaseCheck = true;
   };
   xdg = {
-    inherit configHome dataHome stateHome cacheHome; #binHome; # TODO: add binHome, when the standart is extended
     enable = true;
+    inherit configHome dataHome stateHome cacheHome; #binHome; # TODO: add binHome, when the standart is extended
 
     /*
     TODO: add this
diff --git a/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py b/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py
index 459be0d0..ee8cc966 100644
--- a/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py
+++ b/sys/nixpkgs/pkgs/generate_moz_extension/res/generate_extensions.py
@@ -5,12 +5,15 @@ from concurrent.futures import ThreadPoolExecutor
 import json
 import requests
 
-EXTENSIONS = sorted([
-    "darkreader",
-    "firenvim",
-    "keepassxc-browser",
-    "simple-tab-groups",
-])
+EXTENSIONS = sorted(
+    [
+        "darkreader",
+        "firenvim",
+        "keepassxc-browser",
+        "simple-tab-groups",
+    ]
+)
+
 
 def index_ext(ext: str):
     # print(f"Indexing {ext}...")
@@ -29,6 +32,7 @@ def index_ext(ext: str):
         "sha256": rel["file"]["hash"],
     }
 
+
 if __name__ == "__main__":
     # outfile = os.path.dirname(os.path.realpath(__file__)) + "/extensions.json"
 
@@ -36,5 +40,5 @@ if __name__ == "__main__":
         extensions = {ext: e.submit(index_ext, ext) for ext in EXTENSIONS}
         extensions = {k: v.result() for k, v in extensions.items()}
 
-    #with open(outfile, "w") as f:
+    # with open(outfile, "w") as f:
     print(json.dumps(extensions, indent=2))
diff --git a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md
index e00a435c..f2361112 100644
--- a/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md
+++ b/sys/nixpkgs/pkgs/plgs-pkgs/plugins/plugins.md
@@ -1,4 +1,4 @@
- - Plugin count: 4
+- Plugin count: 4
 
 | Repo | Last Update | Nix package name | Last checked |
 |:---|:---|:---|:---|