wallpaper
This commit is contained in:
parent
4348bef5ac
commit
4d269a9e8d
11 changed files with 274 additions and 65 deletions
|
|
@ -1,10 +1,15 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
hx = lib.getExe pkgs.helix;
|
||||
nix = lib.getExe pkgs.nix;
|
||||
in
|
||||
{
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu
|
||||
#configFile.source = ./.../config.nu;
|
||||
# for editing directly to config.nu
|
||||
# for editing directly to config.nu
|
||||
extraConfig = ''
|
||||
# Common ls aliases and sort them by type and then name
|
||||
# Inspired by https://github.com/nushell/nushell/issues/7190
|
||||
|
|
@ -31,9 +36,7 @@
|
|||
|
||||
# fish completions https://www.nushell.sh/cookbook/external_completers.html#fish-completer
|
||||
let fish_completer = {|spans|
|
||||
${
|
||||
lib.getExe pkgs.fish
|
||||
} --command $'complete "--do-complete=($spans | str join " ")"'
|
||||
${lib.getExe pkgs.fish} --command $'complete "--do-complete=($spans | str join " ")"'
|
||||
| $"value(char tab)description(char newline)" + $in
|
||||
| from tsv --flexible --no-infer
|
||||
}
|
||||
|
|
@ -92,22 +95,24 @@
|
|||
|
||||
shellAliases = {
|
||||
fg = "job unfreeze";
|
||||
nano = "hx";
|
||||
vi = "hx";
|
||||
nvim = "hx";
|
||||
vim = "hx";
|
||||
devenv-init = "nix flake init --template github:cachix/devenv";
|
||||
devenv-enter = "nix develop --impure";
|
||||
rust-init = "nix flake init --template templates#rust";
|
||||
c-init = "nix flake init --template templates#c-hello";
|
||||
go-hello = "nix flake init --template templates#go-hello";
|
||||
haskell-hello = "nix flake init --template templates#haskell-hello";
|
||||
neofetch = "hyfetch";
|
||||
nano = hx;
|
||||
vi = hx;
|
||||
nvim = hx;
|
||||
vim = hx;
|
||||
devenv-init = "${nix} flake init --template github:cachix/devenv";
|
||||
devenv-enter = "${nix} develop --impure";
|
||||
rust-init = "${nix} flake init --template templates#rust";
|
||||
c-init = "${nix} flake init --template templates#c-hello";
|
||||
go-hello = "${nix} flake init --template templates#go-hello";
|
||||
haskell-hello = "${nix} flake init --template templates#haskell-hello";
|
||||
g = "${lib.getExe pkgs.git}";
|
||||
};
|
||||
};
|
||||
carapace.enable = true;
|
||||
carapace.enableNushellIntegration = true;
|
||||
|
||||
starship = { enable = true; };
|
||||
starship = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue