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:
parent
3953362456
commit
f806db9a11
|
@ -12,8 +12,8 @@
|
|||
};
|
||||
|
||||
programs.ssh.extraConfig = ''
|
||||
UseKeychain yes
|
||||
AddKeysToAgent yes
|
||||
#UseKeychain yes
|
||||
#AddKeysToAgent yes
|
||||
IdentityFile ~/.ssh/id_ed25519
|
||||
'';
|
||||
|
||||
|
|
|
@ -49,8 +49,6 @@ in
|
|||
fish.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPath = [ /run/current-system/sw/bin ];
|
||||
|
||||
programs = {
|
||||
bash = {
|
||||
## shellInit = ''
|
||||
|
|
|
@ -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
|
||||
# '';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue