refactor: fix duplicated fastfetch invocations

This commit is contained in:
2026-10-23 16:48:11 -04:00
parent b2194c8187
commit 2c83e2c3a7
6 changed files with 9 additions and 34 deletions
-16
View File
@@ -1,16 +0,0 @@
{ pkgs, ... }:
{
imports = [
./starship.nix
];
programs.bash = {
enable = true;
interactiveShellInit = ''
eval "$(devenv hook bash)"
eval "$(jump shell)"
clear;fastfetch
'';
};
}
-15
View File
@@ -1,15 +0,0 @@
{ _, ... }:
{
programs.zsh = {
enable = true;
enableCompletion = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
interactiveShellInit = ''
eval "$(jump shell)"
eval "$(devenv hook zsh)"
clear;fastfetch
'';
};
}
+3
View File
@@ -65,6 +65,9 @@
if pkgs.stdenv.hostPlatform.isDarwin then
{
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
initContent = ''
eval "$(jump shell)"
+2 -1
View File
@@ -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;
+2 -1
View File
@@ -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 = {
+2 -1
View File
@@ -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;