mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-24 11:41:24 +02:00
nix: Syntax highlight more strings
This commit is contained in:
parent
f7f8f56119
commit
1deb12331d
@ -60,7 +60,7 @@ let VARIABLES = import ../../src/variables.nix; in {
|
|||||||
jis = "recode shift_jis..utf8"; # Easily convert shift_jis-encoded files to utf8
|
jis = "recode shift_jis..utf8"; # Easily convert shift_jis-encoded files to utf8
|
||||||
utf16 = "recode utf16..utf8"; # Rarely, some files from Japan are utf16 instead
|
utf16 = "recode utf16..utf8"; # Rarely, some files from Japan are utf16 instead
|
||||||
jp = "LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8";
|
jp = "LANG=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8";
|
||||||
vm = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local && nixos-rebuild build-vm --flake . --verbose && ./result/bin/run-${VARIABLES.hostname}-vm && trash put result ${VARIABLES.hostname}.qcow2";
|
vm = /* fish */ ''cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local && nixos-rebuild build-vm --flake . --verbose && ./result/bin/run-${VARIABLES.hostname}-vm && trash put result ${VARIABLES.hostname}.qcow2'';
|
||||||
sw = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local && sudo nixos-rebuild switch --flake . --verbose";
|
sw = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local && sudo nixos-rebuild switch --flake . --verbose";
|
||||||
st = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local";
|
st = "cd ~/nix-config && crystal spec tests/main.cr --progress --verbose --tag local";
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ let VARIABLES = import ../../src/variables.nix; in {
|
|||||||
|
|
||||||
home-manager.sharedModules = [
|
home-manager.sharedModules = [
|
||||||
{
|
{
|
||||||
xdg.configFile."fish/config.fish".text = ''
|
xdg.configFile."fish/config.fish".text = /* fish */ ''
|
||||||
set -U fish_greeting ""
|
set -U fish_greeting ""
|
||||||
|
|
||||||
export PATH="$HOME/.deno/bin:$HOME/.cargo/bin:$HOME/.yarn/bin:$HOME/.local/bin:$HOME/.go/bin:$PATH"
|
export PATH="$HOME/.deno/bin:$HOME/.cargo/bin:$HOME/.yarn/bin:$HOME/.local/bin:$HOME/.go/bin:$PATH"
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = /* python */ ''
|
||||||
# Mute tabs by default
|
# Mute tabs by default
|
||||||
from qutebrowser.mainwindow import tabwidget
|
from qutebrowser.mainwindow import tabwidget
|
||||||
tabwidget.TabWidget.MUTE_STRING = ""
|
tabwidget.TabWidget.MUTE_STRING = ""
|
||||||
|
@ -85,7 +85,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
style = lib.mkForce ''
|
style = lib.mkForce /* css */ ''
|
||||||
@define-color base00 #272822;
|
@define-color base00 #272822;
|
||||||
@define-color base01 #383830;
|
@define-color base01 #383830;
|
||||||
@define-color base02 #49483e;
|
@define-color base02 #49483e;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user