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