feat: convert the rest of the configs to hjem

This commit is contained in:
uku 2025-05-08 12:20:30 +02:00
parent 689c291762
commit 63d99f2062
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
10 changed files with 361 additions and 293 deletions

View file

@ -1,13 +1,24 @@
{ lib, pkgs, ... }:
let
toml = pkgs.formats.toml { };
in
{
hm.programs.starship = {
enable = true;
settings = {
add_newline = false;
environment.systemPackages = [ pkgs.starship ];
directory = {
truncation_length = 3;
truncation_symbol = "/";
};
} // (import ./nerd-font.nix);
hj = {
".config/starship.toml" =
toml.generate "starship.toml" {
add_newline = false;
directory = {
truncation_length = 3;
truncation_symbol = "/";
};
}
// (import ./nerd-font.nix);
".config/fish/config.fish".text = lib.mkAfter ''
starship init fish | source
'';
};
}