declarative starship config
This commit is contained in:
parent
76c1bb05ed
commit
84a37b7026
3 changed files with 15 additions and 28 deletions
|
|
@ -110,6 +110,7 @@
|
|||
nix.settings.extra-experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
"pipe-operators"
|
||||
];
|
||||
|
||||
# ======================
|
||||
|
|
|
|||
40
home.nix
40
home.nix
|
|
@ -5,13 +5,14 @@
|
|||
}:
|
||||
|
||||
{
|
||||
# Enables nix commands + flakes
|
||||
nix = {
|
||||
settings.extra-experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
# Enables nix commands + flakes - set in configuration.nix
|
||||
# nix = {
|
||||
# settings.extra-experimental-features = [
|
||||
# "nix-command"
|
||||
# "flakes"
|
||||
# "pipe-operators"
|
||||
# ];
|
||||
# };
|
||||
|
||||
# Home manager things
|
||||
home.username = "dea";
|
||||
|
|
@ -64,26 +65,11 @@
|
|||
bashrcExtra = builtins.readFile ./homemanager/bashrc;
|
||||
};
|
||||
|
||||
# programs.starship = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# add_newline = true;
|
||||
|
||||
# format = ''$directory\n
|
||||
# $character'';
|
||||
|
||||
# directory = {
|
||||
# truncation_length = 3;
|
||||
# truncate_to_repo = false;
|
||||
# format = "[$path]($style) [❤](bold fg:#ff5fff) ";
|
||||
# style = "bold cyan";
|
||||
# };
|
||||
# character = {
|
||||
# success_symbol = "";
|
||||
# error_symbol = "";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
settings = builtins.readFile ./homemanager/starship.toml
|
||||
|> builtins.fromTOML;
|
||||
};
|
||||
|
||||
programs.plasma = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# options: https://github.com/nvim-orgmode/orgmode/blob/master/docs/installation.org
|
||||
return {
|
||||
{
|
||||
"nvim-orgmode/orgmode",
|
||||
"orgmode",
|
||||
event = { "FileType" },
|
||||
ft = { "org" },
|
||||
after = function(plugin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue