2 Commits

Author SHA1 Message Date
kenji cd647e7d7b added fonts and programs nix 2025-12-23 20:12:10 +00:00
kenji facce75d9f organadded unused starship 2025-12-23 20:12:05 +00:00
5 changed files with 19 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
{
programs.starship = {
enable = true;
};
}
-12
View File
@@ -7,16 +7,4 @@
./hardware-configuration.nix
../../modules/system/default.nix
];
programs = {
ssh.extraConfig = myConfig.ssh.extraConfig;
bash.interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]; then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';
zsh.enable = true;
fish.enable = true;
};
}
+2
View File
@@ -7,6 +7,8 @@
../../system/services.nix
../../system/user.nix
../../system/version.nix
../../system/fonts.nix
../../system/programs.nix
];
environment.systemPackages = with pkgs; [
git
View File
+12
View File
@@ -0,0 +1,12 @@
{pkgs, ...}: {
programs = {
ssh.extraConfig = myConfig.ssh.extraConfig;
bash.interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]; then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';
fish.enable = true;
};
}