Improve prompt, justfile

This commit is contained in:
2026-03-01 08:36:23 +01:00
parent 956ace75b0
commit d8ddf42910
2 changed files with 15 additions and 0 deletions

View File

@@ -6,6 +6,14 @@ vm-laptop:
nix build .#nixosConfigurations.dalaptop.config.system.build.vm
./result/bin/run-dalaptop-vm
build:
nix build .#nixosConfigurations.epiquev2.config.system.build.vm
nix build .#nixosConfigurations.dalaptop.config.system.build.vm
upload:
attic push my-config /run/current-system
attic push my-config result
clean:
rm -rf result
rm -rf *.qcow2

View File

@@ -8,6 +8,7 @@
enable = true;
settings = {
format = lib.concatStrings [
"$hostname"
"\${custom.ssh_status}"
"\${custom.distrobox}"
"\${nix_shell}"
@@ -110,6 +111,12 @@
symbol = "📦 ";
style = "bold purple";
};
hostname = {
ssh_only = true;
format = "[](fg:#1E91D6)[$hostname](bg:#1E91D6 fg:#FFFFFF)[](fg:#1E91D6) ";
disabled = false;
};
};
};
}