Reformat all Nix files
This commit is contained in:
parent
9e0c1102a9
commit
355b63cf73
81 changed files with 2293 additions and 1153 deletions
|
@ -1,4 +1,10 @@
|
|||
{ pkgs, config, lib, labellenixpkgs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
labellenixpkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
labellepkgs = import labellenixpkgs { inherit (pkgs) system; };
|
||||
in
|
||||
|
@ -41,7 +47,6 @@ in
|
|||
la = "lsd -la";
|
||||
s = "sudo -s -E";
|
||||
|
||||
|
||||
# Preference
|
||||
wol = "wakeonlan"; # TODO Really, isn't wol better? Also wtf Arch aliases to pass because neither is installed anyways x)
|
||||
mutt = "neomutt";
|
||||
|
@ -73,13 +78,48 @@ in
|
|||
};
|
||||
colors = {
|
||||
# Base16 only, so it reuses the current theme.
|
||||
date = { day-old = 4; hour-old = 6; older = 5; };
|
||||
git-status = { conflicted = 14; default = 13; deleted = 1; ignored = 13; modified = 3; new-in-index = 2; new-in-workdir = 2; renamed = 4; typechange = 3; unmodified = 13; };
|
||||
date = {
|
||||
day-old = 4;
|
||||
hour-old = 6;
|
||||
older = 5;
|
||||
};
|
||||
git-status = {
|
||||
conflicted = 14;
|
||||
default = 13;
|
||||
deleted = 1;
|
||||
ignored = 13;
|
||||
modified = 3;
|
||||
new-in-index = 2;
|
||||
new-in-workdir = 2;
|
||||
renamed = 4;
|
||||
typechange = 3;
|
||||
unmodified = 13;
|
||||
};
|
||||
group = 6;
|
||||
inode = { invalid = 245; valid = 13; };
|
||||
links = { invalid = 9; valid = 14; };
|
||||
permission = { acl = 6; context = 14; exec = 1; exec-sticky = 5; no-access = 245; octal = 6; read = 2; write = 3; };
|
||||
size = { large = 1; medium = 9; none = 11; small = 3; };
|
||||
inode = {
|
||||
invalid = 245;
|
||||
valid = 13;
|
||||
};
|
||||
links = {
|
||||
invalid = 9;
|
||||
valid = 14;
|
||||
};
|
||||
permission = {
|
||||
acl = 6;
|
||||
context = 14;
|
||||
exec = 1;
|
||||
exec-sticky = 5;
|
||||
no-access = 245;
|
||||
octal = 6;
|
||||
read = 2;
|
||||
write = 3;
|
||||
};
|
||||
size = {
|
||||
large = 1;
|
||||
medium = 9;
|
||||
none = 11;
|
||||
small = 3;
|
||||
};
|
||||
tree-edge = 13;
|
||||
user = 2;
|
||||
};
|
||||
|
@ -95,8 +135,13 @@ in
|
|||
fzf = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
defaultOptions = [ "--height 40%" "--layout=default" ];
|
||||
fileWidgetOptions = [ "--preview '[[ -d {} ]] && ${pkgs.coreutils}/bin/ls -l --color=always {} || [[ \$(${pkgs.file}/bin/file --mime {}) =~ binary ]] && ${pkgs.file}/bin/file --brief {} || (${pkgs.highlight}/bin/highlight -O ansi -l {} || coderay {} || rougify {} || ${pkgs.coreutils}/bin/cat {}) 2> /dev/null | head -500'" ];
|
||||
defaultOptions = [
|
||||
"--height 40%"
|
||||
"--layout=default"
|
||||
];
|
||||
fileWidgetOptions = [
|
||||
"--preview '[[ -d {} ]] && ${pkgs.coreutils}/bin/ls -l --color=always {} || [[ \$(${pkgs.file}/bin/file --mime {}) =~ binary ]] && ${pkgs.file}/bin/file --brief {} || (${pkgs.highlight}/bin/highlight -O ansi -l {} || coderay {} || rougify {} || ${pkgs.coreutils}/bin/cat {}) 2> /dev/null | head -500'"
|
||||
];
|
||||
# TODO Above not working... not really used either?
|
||||
# file and friends are not in PATH by default... so here we want aboslute paths, which means those won't get reloaded. Meh.
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue