style: add lang comments for treesitter language injection
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
4a716fc931
commit
907ad13aa8
10 changed files with 124 additions and 66 deletions
|
@ -117,6 +117,8 @@
|
|||
];
|
||||
|
||||
shellAliases = {
|
||||
# Add whitespace after, to allow
|
||||
# sudo to inherit all other aliases
|
||||
sudo = "sudo ";
|
||||
frick = "sudo $(fc -ln -1)";
|
||||
|
||||
|
@ -124,12 +126,27 @@
|
|||
tree = "tree -a -I node_modules";
|
||||
cp = "cp -r";
|
||||
|
||||
chore = "(cd ~/.nix; git add flake.lock; git commit -m 'chore: update flake.lock'; git push)";
|
||||
chore =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
(
|
||||
cd ~/.nix
|
||||
git add flake.lock
|
||||
git commit -m 'chore: update flake.lock'
|
||||
git push
|
||||
)
|
||||
'';
|
||||
};
|
||||
|
||||
#profileExtra = ''
|
||||
#'';
|
||||
bashrcExtra = ''
|
||||
bashrcExtra =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
# Check if shell is interactive
|
||||
[[ $- == *i* ]] || return 0
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
bash.sessionVariables = {
|
||||
# FIXME: why is this not set by home-manager?
|
||||
"RIPGREP_CONFIG_PATH" = "${config.xdg.configHome}/ripgrep/ripgreprc";
|
||||
RIPGREP_CONFIG_PATH = "${config.xdg.configHome}/ripgrep/ripgreprc";
|
||||
};
|
||||
ripgrep = {
|
||||
enable = true;
|
||||
|
|
|
@ -164,7 +164,11 @@ in {
|
|||
{
|
||||
plugin = todo-comments-nvim;
|
||||
type = "lua";
|
||||
config = "require('todo-comments').setup()";
|
||||
config =
|
||||
/*
|
||||
lua
|
||||
*/
|
||||
''require('todo-comments').setup()'';
|
||||
}
|
||||
{
|
||||
plugin = gitsigns-nvim;
|
||||
|
|
|
@ -13,7 +13,11 @@
|
|||
|
||||
plugins = with pkgs.tmuxPlugins; [dracula];
|
||||
|
||||
extraConfig = ''
|
||||
extraConfig =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
bind-key -n Home send Escape "OH"
|
||||
bind-key -n End send Escape "OF"
|
||||
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
|
||||
|
|
|
@ -78,7 +78,11 @@ in {
|
|||
# TODO: add mic sound
|
||||
xdg.configFile."gsr.sh" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
text =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
export WINDOW=DP-5
|
||||
export CONTAINER=mkv
|
||||
export QUALITY=very_high
|
||||
|
|
|
@ -3,7 +3,11 @@
|
|||
in {
|
||||
# https://nixos.wiki/wiki/Distributed_build
|
||||
home-manager.users.root = {
|
||||
home.file.".ssh/config".text = ''
|
||||
home.file.".ssh/config".text =
|
||||
/*
|
||||
ssh_config
|
||||
*/
|
||||
''
|
||||
Host ${servivi}
|
||||
# Prevent using ssh-agent or another keyfile, useful for testing
|
||||
IdentitiesOnly yes
|
||||
|
|
|
@ -53,7 +53,14 @@ in {
|
|||
// {
|
||||
paths = map (x: snapPath + x) v.paths;
|
||||
|
||||
preHook = v.preHook or "" + ''
|
||||
preHook =
|
||||
v.preHook
|
||||
or ""
|
||||
+
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
if [[ ! -d ${pathPrefix} ]]; then
|
||||
mkdir -p ${pathPrefix}
|
||||
fi
|
||||
|
@ -61,9 +68,14 @@ in {
|
|||
${pkgs.btrfs-progs}/bin/btrfs subvolume snapshot -r / ${snapPath}
|
||||
'';
|
||||
|
||||
postHook = ''
|
||||
postHook =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
${pkgs.btrfs-progs}/bin/btrfs subvolume delete ${snapPath}
|
||||
'' + v.postHook or "";
|
||||
''
|
||||
+ v.postHook or "";
|
||||
})
|
||||
tempJobs;
|
||||
};
|
||||
|
|
|
@ -84,7 +84,11 @@
|
|||
services = {
|
||||
tlp.enable = true;
|
||||
|
||||
udev.extraRules = ''
|
||||
udev.extraRules =
|
||||
/*
|
||||
udev
|
||||
*/
|
||||
''
|
||||
# give permanent path to keyboard XF86* binds
|
||||
SUBSYSTEMS=="input", ATTRS{id/product}=="0006", ATTRS{id/vendor}=="0000", SYMLINK += "video-bus"
|
||||
'';
|
||||
|
|
|
@ -24,7 +24,11 @@
|
|||
preferLocalBuild = true;
|
||||
allowSubstitutes = true;
|
||||
|
||||
buildCommand = ''
|
||||
buildCommand =
|
||||
/*
|
||||
bash
|
||||
*/
|
||||
''
|
||||
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
mkdir -p "$dst"
|
||||
install -v -m644 "$src" "$dst/${addonId}.xpi"
|
||||
|
|
|
@ -50,14 +50,19 @@
|
|||
|
||||
xdg.configFile = let
|
||||
fontSize = lib.strings.floatToString config.vars.fontSize;
|
||||
qtconf = ''
|
||||
qtconf =
|
||||
/*
|
||||
ini
|
||||
*/
|
||||
''
|
||||
[Fonts]
|
||||
fixed="Sans Serif,${fontSize},-1,5,50,0,0,0,0,0"
|
||||
general="Sans Serif,${fontSize},-1,5,50,0,0,0,0,0"
|
||||
|
||||
[Appearance]
|
||||
icon_theme=Flat-Remix-Violet-Dark
|
||||
style='';
|
||||
style=
|
||||
'';
|
||||
in {
|
||||
"Kvantum/Dracula/Dracula.kvconfig".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula-purple-solid/Dracula-purple-solid.kvconfig";
|
||||
"Kvantum/Dracula/Dracula.svg".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula-purple-solid/Dracula-purple-solid.svg";
|
||||
|
|
Loading…
Reference in a new issue