Remove unused configuration and commented code

Eliminated obsolete systemPath entry from Darwin services default configuration. Removed unused foreign-env plugin and commented code related to shell initialization in Fish configuration. Additionally, commented out unnecessary SSH configuration options in user-specific settings.
This commit is contained in:
Harald Hoyer 2024-11-28 10:53:57 +01:00
parent 3953362456
commit f806db9a11
3 changed files with 2 additions and 29 deletions

View file

@ -12,8 +12,8 @@
};
programs.ssh.extraConfig = ''
UseKeychain yes
AddKeysToAgent yes
#UseKeychain yes
#AddKeysToAgent yes
IdentityFile ~/.ssh/id_ed25519
'';

View file

@ -49,8 +49,6 @@ in
fish.enable = true;
};
environment.systemPath = [ /run/current-system/sw/bin ];
programs = {
bash = {
## shellInit = ''

View file

@ -33,31 +33,6 @@ in
end
end
'';
plugins = [
{
name = "foreign-env";
src = pkgs.fetchFromGitHub {
owner = "oh-my-fish";
repo = "plugin-foreign-env";
rev = "dddd9213272a0ab848d474d0cbde12ad034e65bc";
sha256 = "00xqlyl3lffc5l0viin1nyp819wf81fncqyz87jx8ljjdhilmgbs";
};
}
];
# shellInit =
# ''
# # nix
# if test -e /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
# fenv source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
# end
#
# # home-manager
# if test -e $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
# fenv source $HOME/.nix-profile/etc/profile.d/hm-session-vars.sh
# end
# '';
};
};
}