parent
ac7e310e00
commit
ae9854f178
3 changed files with 238 additions and 233 deletions
|
|
@ -5,10 +5,11 @@ inputs@{ machine, ... }:
|
|||
inherit inputs;
|
||||
requirements = [ "cli" ];
|
||||
home-config =
|
||||
{ config
|
||||
, pkgs
|
||||
, lib
|
||||
, ...
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with builtins;
|
||||
with lib.attrsets;
|
||||
|
|
@ -228,7 +229,10 @@ inputs@{ machine, ... }:
|
|||
fish_add_path "$HOME/.nix-profile/bin"
|
||||
|
||||
function fish_greeting
|
||||
if test -e /etc/motd
|
||||
else
|
||||
${pkgs.blahaj}/bin/blahaj -s
|
||||
end
|
||||
echo "mrow! This is $(uname -n) and ur $(whoami) :3"
|
||||
end
|
||||
'';
|
||||
|
|
@ -239,11 +243,13 @@ inputs@{ machine, ... }:
|
|||
setupTide = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
||||
setupTide() {
|
||||
${pkgs.fish}/bin/fish -c ${lib.escapeShellArg "tide configure ${
|
||||
lib.cli.toCommandLineShell (optionName: {
|
||||
lib.cli.toCommandLineShell
|
||||
(optionName: {
|
||||
option = if builtins.stringLength optionName > 1 then "--${optionName}" else "-${optionName}";
|
||||
sep = null;
|
||||
explicitBool = false;
|
||||
}) {
|
||||
})
|
||||
{
|
||||
auto = true;
|
||||
style = "Lean";
|
||||
prompt_colors = "True color";
|
||||
|
|
|
|||
|
|
@ -31,7 +31,6 @@ inputs@{ machine, ... }:
|
|||
|
||||
default-command = [
|
||||
"log"
|
||||
"--reversed"
|
||||
];
|
||||
merge-editor = [
|
||||
"${pkgs.meld}/bin/meld"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ inputs@{ machine, ... }:
|
|||
config = ''
|
||||
#command
|
||||
#env
|
||||
LESS=--quit-if-one-screen --ignore-case --long-prompt --tabs=4 --redraw-on-quit --use-color --RAW-CONTROL-CHARS --chop-long-lines --exit-follow-on-close +F
|
||||
LESS=--quit-if-one-screen --ignore-case --long-prompt --tabs=4 --redraw-on-quit --use-color --RAW-CONTROL-CHARS --chop-long-lines --exit-follow-on-close
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue