Changed starship call: deleted the program call in hosts/puter/packages.nix and called it for user in modules/common/shell.nix
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
gcc
|
||||
python
|
||||
alejandra
|
||||
starship
|
||||
devenv
|
||||
nodejs
|
||||
mermaid-cli
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
{ config, pkgs, lib, ... }: {
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
||||
users.users.user.shell = pkgs.bash;
|
||||
environment.shells = with pkgs; [bash];
|
||||
environment.shells = with pkgs; [ bash ];
|
||||
programs.bash = {
|
||||
interactiveShellInit = ''
|
||||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||
@@ -18,7 +13,7 @@
|
||||
'';
|
||||
};
|
||||
programs.fish.enable = true;
|
||||
programs.starship = {
|
||||
users.users.user.programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
add_newline = true;
|
||||
|
||||
Reference in New Issue
Block a user