Compare commits
3 commits
9107025328
...
be46e02c61
Author | SHA1 | Date | |
---|---|---|---|
be46e02c61 | |||
2f88baa90f | |||
dfbecb4e13 |
2 changed files with 24 additions and 8 deletions
|
@ -131,7 +131,20 @@ in
|
|||
programs.starship = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = "$all$line_break\${custom.ranger}$jobs$battery$time$status$os$container$shell$character";
|
||||
format = lib.concatStrings [
|
||||
"$all"
|
||||
"\${custom.sshAuthSocket}"
|
||||
"$line_break"
|
||||
"\${custom.ranger}"
|
||||
"$jobs"
|
||||
"$battery"
|
||||
"$time"
|
||||
"$status"
|
||||
"$os"
|
||||
"$container"
|
||||
"$shell"
|
||||
"$character"
|
||||
];
|
||||
directory = {
|
||||
truncation_length = 5;
|
||||
truncation_symbol = "…/";
|
||||
|
@ -148,6 +161,12 @@ in
|
|||
command = "echo \"✦\"";
|
||||
style = "bold 208";
|
||||
};
|
||||
custom.sshAuthSocket = {
|
||||
when = "test -S \"$SSH_AUTH_SOCK\"";
|
||||
command = "echo -e \"SSH Auth Agent\"";
|
||||
style = "124";
|
||||
format = "with [$output]($style) ";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,13 +5,10 @@ self:
|
|||
inputsWithPackages = import self.inputsPath {
|
||||
pkgs = self.packagesForSystem builtins.currentSystem;
|
||||
};
|
||||
in {
|
||||
"inputs/nixpkgs" = inputsWithPackages.nixpkgs;
|
||||
"inputs/nixpkgs-unstable" = inputsWithPackages.nixpkgs-unstable;
|
||||
"inputs/nix-bitcoin" = inputsWithPackages.nix-bitcoin;
|
||||
"inputs/cosmic-modules" = inputsWithPackages.cosmic-modules;
|
||||
"inputs/nixos-vscode-server" = inputsWithPackages.nixos-vscode-server;
|
||||
})
|
||||
in self.lib.concatMapAttrs (name: value: {
|
||||
"inputs/${name}" = value;
|
||||
}) inputsWithPackages
|
||||
)
|
||||
|
||||
# MARK: NixOS modules
|
||||
// ( let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue