diff --git a/configuration.nix b/configuration.nix index c562e89..f12c45a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -110,6 +110,7 @@ nix.settings.extra-experimental-features = [ "nix-command" "flakes" + "pipe-operators" ]; # ====================== diff --git a/home.nix b/home.nix index 870fe24..12f30b0 100644 --- a/home.nix +++ b/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; diff --git a/homemanager/vim/lua/plugins/orgmode.lua b/homemanager/vim/lua/plugins/orgmode.lua index aae46cb..1f308e0 100644 --- a/homemanager/vim/lua/plugins/orgmode.lua +++ b/homemanager/vim/lua/plugins/orgmode.lua @@ -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)