mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Added nu_scripts
This commit is contained in:
parent
c45afedd4a
commit
79681e72a2
2 changed files with 17 additions and 4 deletions
|
|
@ -1,9 +1,13 @@
|
||||||
{config, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
programs.nushell = {
|
programs.nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
shellAliases =
|
# shellAliases =
|
||||||
config.home.shellAliases;
|
# config.home.shellAliases;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
$env.PATH = ($env.PATH | split row (char esep) | append "~/.nix-profile/bin")
|
$env.PATH = ($env.PATH | split row (char esep) | append "~/.nix-profile/bin")
|
||||||
|
|
@ -13,6 +17,12 @@
|
||||||
|
|
||||||
def gac [] { git add .; git commit }
|
def gac [] { git add .; git commit }
|
||||||
def gacp [] { gac; git push }
|
def gacp [] { gac; git push }
|
||||||
|
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/aliases/git/git-aliases.nu *
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/custom-completions/git/git-completions.nu *
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/custom-completions/just/just-completions.nu *
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/custom-completions/rg/rg-completions.nu *
|
||||||
|
use ${pkgs.nu_scripts}/share/nu_scripts/custom-completions/zellij/zellij-completions.nu *
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
}: {
|
}: {
|
||||||
imports = [../common.nix ../gnome.nix ../home-backup.nix ../gui.nix];
|
imports = [../common.nix ../gnome.nix ../home-backup.nix ../gui.nix];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
home = {
|
home = {
|
||||||
username = "tyler";
|
username = "tyler";
|
||||||
homeDirectory = "/home/tyler";
|
homeDirectory = "/home/tyler";
|
||||||
|
|
@ -13,5 +14,7 @@
|
||||||
ventoy
|
ventoy
|
||||||
(config.lib.nixGL.wrap renderdoc)
|
(config.lib.nixGL.wrap renderdoc)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
stateVersion = "23.11";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue