1
Fork 0

Moved some firefox stuff + added rain world tech wiki devshell

This commit is contained in:
Matei Adriel 2023-05-03 18:08:02 +02:00
parent d624c295d2
commit 87f960f588
No known key found for this signature in database
11 changed files with 27 additions and 3 deletions

View file

@ -1,4 +1,5 @@
args: { args: {
visonum = import ./visonum.nix args; visonum = import ./visonum.nix args;
rwtw = import ./rwtw.nix args;
} }

9
devshells/rwtw.nix Normal file
View file

@ -0,0 +1,9 @@
# Shell containing the tools I most commonly use for work
{ pkgs, inputs, ... }:
let
pythonDeps = ps: with ps; [ python-slugify rtoml ];
zolaObsidianPython = pkgs.python3.withPackages pythonDeps;
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [ zolaObsidianPython pkgs.zola cargo rustup ];
}

View file

@ -1,5 +1,5 @@
# Shell containing the tools I most commonly use for work # Shell containing the tools I most commonly use for work
{ pkgs, upkgs, inputs }: { pkgs, upkgs, inputs, ... }:
pkgs.mkShell { pkgs.mkShell {
# REASON: purescript 0.15.7 and it's associated spago # REASON: purescript 0.15.7 and it's associated spago
nativeBuildInputs = [ upkgs.purescript upkgs.spago pkgs.typescript pkgs.nodejs ]; nativeBuildInputs = [ upkgs.purescript upkgs.spago pkgs.typescript pkgs.nodejs ];

View file

@ -48,7 +48,7 @@
"nvim-comment": { "branch": "main", "commit": "e9ac16ab056695cad6461173693069ec070d2b23" }, "nvim-comment": { "branch": "main", "commit": "e9ac16ab056695cad6461173693069ec070d2b23" },
"nvim-lspconfig": { "branch": "master", "commit": "eddaef928c1e1dd79a96f5db45f2fd7f2efe7ea0" }, "nvim-lspconfig": { "branch": "master", "commit": "eddaef928c1e1dd79a96f5db45f2fd7f2efe7ea0" },
"nvim-tree.lua": { "branch": "master", "commit": "0db85a70248f9a90e61af5cdbafe5d9f4320f719" }, "nvim-tree.lua": { "branch": "master", "commit": "0db85a70248f9a90e61af5cdbafe5d9f4320f719" },
"nvim-treesitter": { "branch": "master", "commit": "831f37635df26864a397a5e35450eec97bfe60cd" }, "nvim-treesitter": { "branch": "master", "commit": "e2cf8977fda35ad666d7b431b0254d8da710968a" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "8673926519ea61069f9c1366d1ad1949316d250e" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "8673926519ea61069f9c1366d1ad1949316d250e" },
"nvim-web-devicons": { "branch": "master", "commit": "4ec26d67d419c12a4abaea02f1b6c57b40c08d7e" }, "nvim-web-devicons": { "branch": "master", "commit": "4ec26d67d419c12a4abaea02f1b6c57b40c08d7e" },
"nvim_context_vt": { "branch": "master", "commit": "e592a9142fbfe0878ce886cd0d745963604c61d2" }, "nvim_context_vt": { "branch": "master", "commit": "e592a9142fbfe0878ce886cd0d745963604c61d2" },

View file

@ -15,6 +15,9 @@
# Set default search engine # Set default search engine
search.default = "Google"; search.default = "Google";
# Set styles applied to every website
userContent = builtins.readFile ./userContent.css;
# }}} # }}}
# {{{ Extensions # {{{ Extensions
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [ extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
@ -142,6 +145,12 @@
settings = { settings = {
# Required for figma to be able to export to svg # Required for figma to be able to export to svg
"dom.events.asyncClipboard.clipboardItem" = true; "dom.events.asyncClipboard.clipboardItem" = true;
# Customize css
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
# Set language to english
"general.useragent.locale" = "en-GB";
}; };
# }}} # }}}
}; };

View file

Before

Width:  |  Height:  |  Size: 423 B

After

Width:  |  Height:  |  Size: 423 B

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

@ -0,0 +1,5 @@
/* add '[pdf]' next to links to PDF files */
a[href$=".pdf"]:after {
font-size: smaller;
content: " [pdf]";
}

View file

@ -6,7 +6,7 @@
./features/desktop/common/signal.nix ./features/desktop/common/signal.nix
./features/desktop/common/qbittorrent.nix ./features/desktop/common/qbittorrent.nix
./features/desktop/common/zathura.nix ./features/desktop/common/zathura.nix
./features/desktop/common/firefox.nix ./features/desktop/common/firefox
./features/games ./features/games
]; ];