mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-28 13:32:24 +00:00
Compare commits
3 Commits
080f7395e0
...
ef2ee7b871
Author | SHA1 | Date | |
---|---|---|---|
|
ef2ee7b871 | ||
|
fc867d60cd | ||
|
d395347a29 |
@ -6,7 +6,7 @@ in {
|
|||||||
|
|
||||||
config = lib.mkIf (config.gui.enable && pkgs.stdenv.isLinux) {
|
config = lib.mkIf (config.gui.enable && pkgs.stdenv.isLinux) {
|
||||||
|
|
||||||
fonts.fonts = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
victor-mono # Used for Vim and Terminal
|
victor-mono # Used for Vim and Terminal
|
||||||
(nerdfonts.override { fonts = [ "Hack" ]; }) # For Polybar, Rofi
|
(nerdfonts.override { fonts = [ "Hack" ]; }) # For Polybar, Rofi
|
||||||
];
|
];
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Adds the Cloudflare DNS validation module
|
||||||
|
|
||||||
{ lib, buildGo118Module, fetchFromGitHub, plugins ? [ ] }:
|
{ lib, buildGo118Module, fetchFromGitHub, plugins ? [ ] }:
|
||||||
let
|
let
|
||||||
goImports = lib.flip lib.concatMapStrings plugins (pkg: " _ \"${pkg}\"\n");
|
goImports = lib.flip lib.concatMapStrings plugins (pkg: " _ \"${pkg}\"\n");
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# Fix: bash highlighting doesn't work as of this commit:
|
|
||||||
# https://github.com/NixOS/nixpkgs/commit/49cce41b7c5f6b88570a482355d9655ca19c1029
|
|
||||||
|
|
||||||
inputs: _final: prev: {
|
inputs: _final: prev: {
|
||||||
tree-sitter-grammars = prev.tree-sitter-grammars // {
|
tree-sitter-grammars = prev.tree-sitter-grammars // {
|
||||||
|
|
||||||
|
# Fix: bash highlighting doesn't work as of this commit:
|
||||||
|
# https://github.com/NixOS/nixpkgs/commit/49cce41b7c5f6b88570a482355d9655ca19c1029
|
||||||
tree-sitter-bash = prev.tree-sitter-grammars.tree-sitter-bash.overrideAttrs
|
tree-sitter-bash = prev.tree-sitter-grammars.tree-sitter-bash.overrideAttrs
|
||||||
(old: {
|
(old: {
|
||||||
src = prev.fetchFromGitHub {
|
src = prev.fetchFromGitHub {
|
||||||
@ -12,6 +12,20 @@ inputs: _final: prev: {
|
|||||||
sha256 = "sha256-gl5F3IeZa2VqyH/qFj8ey2pRbGq4X8DL5wiyvRrH56U=";
|
sha256 = "sha256-gl5F3IeZa2VqyH/qFj8ey2pRbGq4X8DL5wiyvRrH56U=";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
# Fix: invalid node in position. Broken as of this commit (replaced with newer):
|
||||||
|
# https://github.com/NixOS/nixpkgs/commit/8ec3627796ecc899e6f47f5bf3c3220856ead9c5
|
||||||
|
tree-sitter-python =
|
||||||
|
prev.tree-sitter-grammars.tree-sitter-python.overrideAttrs (old: {
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "tree-sitter";
|
||||||
|
repo = "tree-sitter-python";
|
||||||
|
rev = "5af00f64af6bbf822f208243cce5cf75396fb6f5";
|
||||||
|
sha256 = "sha256-2btd/NRE6NuGNlx4cq535OrwtWXihiP3VMCJjPCiDOk=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
# Add grammars not in nixpks
|
||||||
tree-sitter-ini = prev.tree-sitter.buildGrammar {
|
tree-sitter-ini = prev.tree-sitter.buildGrammar {
|
||||||
language = "ini";
|
language = "ini";
|
||||||
version = "1.0.0";
|
version = "1.0.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user