declarative starship config
This commit is contained in:
parent
93c3453a40
commit
185e4bf1c4
3 changed files with 15 additions and 28 deletions
|
|
@ -110,6 +110,7 @@
|
||||||
nix.settings.extra-experimental-features = [
|
nix.settings.extra-experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
|
"pipe-operators"
|
||||||
];
|
];
|
||||||
|
|
||||||
# ======================
|
# ======================
|
||||||
|
|
|
||||||
40
home.nix
40
home.nix
|
|
@ -5,13 +5,14 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Enables nix commands + flakes
|
# Enables nix commands + flakes - set in configuration.nix
|
||||||
nix = {
|
# nix = {
|
||||||
settings.extra-experimental-features = [
|
# settings.extra-experimental-features = [
|
||||||
"nix-command"
|
# "nix-command"
|
||||||
"flakes"
|
# "flakes"
|
||||||
];
|
# "pipe-operators"
|
||||||
};
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
# Home manager things
|
# Home manager things
|
||||||
home.username = "dea";
|
home.username = "dea";
|
||||||
|
|
@ -64,26 +65,11 @@
|
||||||
bashrcExtra = builtins.readFile ./homemanager/bashrc;
|
bashrcExtra = builtins.readFile ./homemanager/bashrc;
|
||||||
};
|
};
|
||||||
|
|
||||||
# programs.starship = {
|
programs.starship = {
|
||||||
# enable = true;
|
enable = true;
|
||||||
# settings = {
|
settings = builtins.readFile ./homemanager/starship.toml
|
||||||
# add_newline = true;
|
|> builtins.fromTOML;
|
||||||
|
};
|
||||||
# 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.plasma = {
|
programs.plasma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# options: https://github.com/nvim-orgmode/orgmode/blob/master/docs/installation.org
|
# options: https://github.com/nvim-orgmode/orgmode/blob/master/docs/installation.org
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"nvim-orgmode/orgmode",
|
"orgmode",
|
||||||
event = { "FileType" },
|
event = { "FileType" },
|
||||||
ft = { "org" },
|
ft = { "org" },
|
||||||
after = function(plugin)
|
after = function(plugin)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue