feat: restructure and move apps into their own configs (#2)
This commit is contained in:
24
home/programs/nushell.nix
Normal file
24
home/programs/nushell.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
device,
|
||||
...
|
||||
}: {
|
||||
programs.nushell = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
cd = "z";
|
||||
yy = "yazi";
|
||||
cat = "bat";
|
||||
};
|
||||
extraConfig = ''
|
||||
${pkgs.pfetch-rs}/bin/pfetch
|
||||
'';
|
||||
package = pkgs.nushell;
|
||||
configFile.text = ''
|
||||
$env.config = {
|
||||
show_banner: false,
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user