refactor: fix duplicated fastfetch invocations
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./starship.nix
|
||||
];
|
||||
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
|
||||
interactiveShellInit = ''
|
||||
eval "$(devenv hook bash)"
|
||||
eval "$(jump shell)"
|
||||
clear;fastfetch
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{ _, ... }:
|
||||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
enableAutosuggestions = true;
|
||||
enableSyntaxHighlighting = true;
|
||||
|
||||
interactiveShellInit = ''
|
||||
eval "$(jump shell)"
|
||||
eval "$(devenv hook zsh)"
|
||||
clear;fastfetch
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -65,6 +65,9 @@
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then
|
||||
{
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
initContent = ''
|
||||
eval "$(jump shell)"
|
||||
|
||||
@@ -3,9 +3,10 @@
|
||||
imports = [
|
||||
./nix-package-manager.nix
|
||||
../../features/sops.nix
|
||||
../../features/zsh.nix
|
||||
];
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
# Only use homebrew for casks.
|
||||
homebrew.enable = true;
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../../features/bash.nix
|
||||
../../features/nix-ld.nix
|
||||
../../features/docker.nix
|
||||
../../features/vim.nix
|
||||
@@ -140,6 +139,8 @@
|
||||
security.rtkit.enable = true;
|
||||
|
||||
programs = {
|
||||
bash.enable = true;
|
||||
|
||||
firefox.enable = true;
|
||||
|
||||
gnupg.agent = {
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
../../features/bash.nix
|
||||
../../features/vim.nix
|
||||
../../features/docker.nix
|
||||
../../features/libvirt.nix
|
||||
@@ -17,6 +16,8 @@
|
||||
./nix-package-manager.nix
|
||||
];
|
||||
|
||||
programs.bash.enable = true;
|
||||
|
||||
services = {
|
||||
openssh.enable = true;
|
||||
resolved.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user