Compare commits

...

2 Commits

Author SHA1 Message Date
e5ee82f223 Add nushell for testing. 2024-04-03 13:22:34 +02:00
bc69e5c902 Update flake.lock 2024-04-03 13:22:22 +02:00
4 changed files with 37 additions and 9 deletions

18
flake.lock generated
View File

@ -307,11 +307,11 @@
]
},
"locked": {
"lastModified": 1711915616,
"narHash": "sha256-co6LoFA+j6BZEeJNSR8nZ4oOort5qYPskjrDHBaJgmo=",
"lastModified": 1712016346,
"narHash": "sha256-O2nO7pD+krq+4HgkLB4VThRtAucIPfXDs/jJqCGlK1w=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "820be197ccf3adaad9a8856ef255c13b6cc561a6",
"rev": "4be0464472675212654dedf3e021bd5f1d58b92f",
"type": "github"
},
"original": {
@ -455,11 +455,11 @@
"pre-commit-hooks": "pre-commit-hooks_2"
},
"locked": {
"lastModified": 1711888895,
"narHash": "sha256-Hykv2DGC5EHzZ89+54w/zkit+CVGLRcdIgOWnB4zW5k=",
"lastModified": 1712057047,
"narHash": "sha256-o5KSQO82/sCgaaSsZONTeb+P47MXo0bbp+eID9I0CwI=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "db6b61f117c83943f15289ced03674f81d08256a",
"rev": "7baefc8aa587931827797db7fbd55a733179dc79",
"type": "github"
},
"original": {
@ -527,11 +527,11 @@
"nixpkgs-stable": "nixpkgs-stable_2"
},
"locked": {
"lastModified": 1711957905,
"narHash": "sha256-8aEIBDbVyntFs0yzfo3uJ7SpvFoMABhAp4URoD8daZ0=",
"lastModified": 1712055707,
"narHash": "sha256-4XLvuSIDZJGS17xEwSrNuJLL7UjDYKGJSbK1WWX2AK8=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "ffbf46949fcf41378498141341998b60fdbb2a32",
"rev": "e35aed5fda3cc79f88ed7f1795021e559582093a",
"type": "github"
},
"original": {

View File

@ -27,6 +27,7 @@
./modules/helix.nix
./modules/tofi.nix
./modules/vkbasalt.nix
./modules/nushell.nix
];
# My packages

View File

@ -0,0 +1,4 @@
$env.config = {
show_banner: false,
edit_mode: vi,
}

View File

@ -0,0 +1,23 @@
{ pkgs, ... }: {
programs.nushell = {
enable = true;
configFile.source = ./confs/nushell/config.nu;
extraConfig = ''
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/themes/nu-themes/catppuccin-mocha.nu
$env.config.color_config = (catppuccin-mocha)
'';
};
programs.direnv.enableNushellIntegration = true;
programs.eza.enableNushellIntegration = true;
programs.starship.enableNushellIntegration = true;
programs.zoxide.enableNushellIntegration = true;
}