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 if pkgs.stdenv.hostPlatform.isDarwin then
{ {
enable = true; enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
initContent = '' initContent = ''
eval "$(jump shell)" eval "$(jump shell)"
+2 -1
View File
@@ -3,9 +3,10 @@
imports = [ imports = [
./nix-package-manager.nix ./nix-package-manager.nix
../../features/sops.nix ../../features/sops.nix
../../features/zsh.nix
]; ];
programs.zsh.enable = true;
# Only use homebrew for casks. # Only use homebrew for casks.
homebrew.enable = true; homebrew.enable = true;
+2 -1
View File
@@ -6,7 +6,6 @@
}: }:
{ {
imports = [ imports = [
../../features/bash.nix
../../features/nix-ld.nix ../../features/nix-ld.nix
../../features/docker.nix ../../features/docker.nix
../../features/vim.nix ../../features/vim.nix
@@ -140,6 +139,8 @@
security.rtkit.enable = true; security.rtkit.enable = true;
programs = { programs = {
bash.enable = true;
firefox.enable = true; firefox.enable = true;
gnupg.agent = { gnupg.agent = {
+2 -1
View File
@@ -4,7 +4,6 @@
}: }:
{ {
imports = [ imports = [
../../features/bash.nix
../../features/vim.nix ../../features/vim.nix
../../features/docker.nix ../../features/docker.nix
../../features/libvirt.nix ../../features/libvirt.nix
@@ -17,6 +16,8 @@
./nix-package-manager.nix ./nix-package-manager.nix
]; ];
programs.bash.enable = true;
services = { services = {
openssh.enable = true; openssh.enable = true;
resolved.enable = false; resolved.enable = false;