Skip to content

Commit

Permalink
Revert "fix neovim"
Browse files Browse the repository at this point in the history
This reverts commit fa8a8dd.
  • Loading branch information
ojsef39 committed Nov 9, 2024
1 parent fa8a8dd commit d2758b0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
14 changes: 4 additions & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,14 @@
home-manager.url = "github:nix-community/home-manager";
darwin.url = "github:lnl7/nix-darwin/master";
yuki.url = "github:frostplexx/yuki";
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
};
outputs = inputs @ { self, nixpkgs, home-manager, darwin, yuki, ... }:
let
overlays = [
inputs.neovim-nightly-overlay.overlays.default
];
in
{
outputs = inputs @ { self, nixpkgs, home-manager, darwin, yuki, ... }:
{
sharedModules = [
./nix/core.nix
##TODO: Do i need homemanager again here or is it sufficient if its called by the parent?
home-manager.darwinModules.home-manager
({ vars, config, inputs, system, ... }: {
nixpkgs.overlays = overlays;
({ vars, system, ... }: { # system is now available here
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
Expand Down
2 changes: 1 addition & 1 deletion hosts/shared/import.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ vars, pkgs, inputs, lib, ... }:
{ vars, pkgs, lib, ... }:
let
# Check if programs directory exists
hasProgramsDir = builtins.pathExists ./programs;
Expand Down
9 changes: 4 additions & 5 deletions hosts/shared/programs/editor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ in
# Packages used in nvim but also outside of it
home.packages = with pkgs; [
fzf
git
lazygit
nerdfonts
ripgrep
git
lazygit
nerdfonts
ripgrep
];

programs.neovim = {
Expand All @@ -31,7 +31,6 @@ in
];
};


# Copy your Neovim configuration
xdg.configFile = {
# Copy the filtered nvim configuration directory
Expand Down

0 comments on commit d2758b0

Please sign in to comment.