add some initial stuff
This commit is contained in:
commit
62df62c3aa
23 changed files with 2101 additions and 0 deletions
47
modules/presets/cli.nix
Normal file
47
modules/presets/cli.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.xyno.presets.cli;
|
||||
in
|
||||
{
|
||||
options.xyno.presets.cli.enable =
|
||||
lib.mkEnableOption "enables xynos cli config with fish and helix and stuff";
|
||||
config = lib.mkIf cfg.enable {
|
||||
xyno.cli.fish.enable = true;
|
||||
xyno.cli.starship.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
jq
|
||||
bottom
|
||||
htop
|
||||
curl
|
||||
aria2
|
||||
file
|
||||
git
|
||||
neofetch
|
||||
ripgrep
|
||||
pv
|
||||
yt-dlp
|
||||
helix
|
||||
];
|
||||
environment.variables.EDITOR = "hx";
|
||||
environment.variables.VISUAL = "hx";
|
||||
|
||||
environment.shellAliases = {
|
||||
l = "ls -al";
|
||||
gc = "git commit -v";
|
||||
gpl = "git pull";
|
||||
gd = "git diff";
|
||||
ga = "git add";
|
||||
gp = "git push";
|
||||
gpf = "git push --force-with-lease";
|
||||
gs = "git status -v";
|
||||
gl = "git log --graph";
|
||||
p = "cd ~/proj";
|
||||
ytl = ''yt-dlp -f "bv*+mergeall[vcodec=none]" --audio-multistreams'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue