mirror of
https://github.com/JaxTheWolf/nixos.git
synced 2026-03-31 17:50:23 +02:00
Improve prompt, justfile
This commit is contained in:
8
Justfile
8
Justfile
@@ -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
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user