Make program integrations conditional on shell

This commit is contained in:
GarandPLG committed 2026-05-24 16:54:02 +02:00
1 parent 98069fa8d9
commit 83aa051d92
10 files changed
+82 -39

No files matched your search

+9 -2
View File
@@ -1,7 +1,14 @@
{lib, ...}: {
{
lib,
shell,
...
}: {
programs.starship = {
enable = true;
enableFishIntegration = true;
enableFishIntegration =
if shell == "fish"
then true
else false;
settings = {
add_newline = true;
format = lib.concatStrings [