diff --git a/dot_config/flake/home/nushell.nix b/dot_config/flake/home/nushell.nix index 9fc859d..1c77f13 100644 --- a/dot_config/flake/home/nushell.nix +++ b/dot_config/flake/home/nushell.nix @@ -1,18 +1,28 @@ -{config, ...}: { +{ + config, + pkgs, + ... +}: { programs.nushell = { enable = true; - shellAliases = - config.home.shellAliases; + # shellAliases = + # config.home.shellAliases; extraConfig = '' $env.PATH = ($env.PATH | split row (char esep) | append "~/.nix-profile/bin") $env.PATH = ($env.PATH | split row (char esep) | append "/nix/var/nix/profiles/default/bin") - + $env.config.show_banner = false def gac [] { git add .; git commit } 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 * ''; }; } diff --git a/dot_config/flake/home/wash/wash.nix b/dot_config/flake/home/wash/wash.nix index a18d237..f56d524 100644 --- a/dot_config/flake/home/wash/wash.nix +++ b/dot_config/flake/home/wash/wash.nix @@ -5,6 +5,7 @@ }: { imports = [../common.nix ../gnome.nix ../home-backup.nix ../gui.nix]; + nixpkgs.config.allowUnfree = true; home = { username = "tyler"; homeDirectory = "/home/tyler"; @@ -13,5 +14,7 @@ ventoy (config.lib.nixGL.wrap renderdoc) ]; + + stateVersion = "23.11"; }; }