before deadnix
This commit is contained in:
parent
414d3b190e
commit
44d708329a
3 changed files with 26 additions and 23 deletions
|
|
@ -3,7 +3,7 @@ let
|
|||
in
|
||||
{
|
||||
programs.firefox = {
|
||||
ExtensionSettings = {
|
||||
policies.ExtensionSettings = {
|
||||
"uBlock0@raymondhill.net" = {
|
||||
install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
|
||||
installation_mode = "force_installed";
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
# Fetch the JSON file
|
||||
# Fetch the JSON file and read its content
|
||||
fontsJson = builtins.fetchurl {
|
||||
url = "https://raw.githubusercontent.com/NixOS/nixpkgs/nixos-unstable/pkgs/data/fonts/nerd-fonts/manifests/fonts.json";
|
||||
sha256 = "1kdmk4ayckixxckxbik9jg4fdqqgm7s5x1lvzd95v1g09bhn33wg";
|
||||
};
|
||||
|
||||
# Parse the JSON and extract package names
|
||||
fonts = builtins.fromJSON fontsJson;
|
||||
fonts = builtins.fromJSON (builtins.readFile fontsJson);
|
||||
packageNames = map (font: font.package) fonts;
|
||||
in
|
||||
{
|
||||
|
|
@ -18,5 +18,5 @@ in
|
|||
comic-mono
|
||||
nerdfonts
|
||||
]
|
||||
++ packageNames;
|
||||
++ builtins.filter lib.attrsets.isDerivation (builtins.attrValues pkgs.nerd-fonts);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue