Aded neovim

This commit is contained in:
fwastring 2025-09-04 09:19:42 +02:00
parent 2d0105093e
commit d7bd96d68d
3 changed files with 19 additions and 6 deletions

View file

@ -36,6 +36,7 @@
freecad-wayland freecad-wayland
ghostty ghostty
kdePackages.okular kdePackages.okular
xdg-user-dirs
# Browsers # Browsers
librewolf librewolf

View file

@ -22,6 +22,16 @@
../../config/sway.nix ../../config/sway.nix
]; ];
# services.greetd = {
# enable = true;
# settings = {
# default_session = {
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd hyprland";
# user = "greeter";
# };
# };
# };
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;

View file

@ -2,11 +2,13 @@
let let
# Replace with the URL of your Neovim configuration GitHub repository # Replace with the URL of your Neovim configuration GitHub repository
neovimConfig = builtins.fetchGit { nvim-config = {
url = "https://github.com/fwastring/nvim.git"; url = "github:fwastring/nvim?exportIgnore=1";
# Optional: specify a specific branch, tag, or commit hash # Use a specific, locked commit hash here
ref = "main"; # You can get this by running 'nix flake lock'
}; # after adding the input
flake = false; # Tell Nix this is not a flake
};
in in
{ {
@ -14,7 +16,7 @@ in
# programs.neovim.enable = true; # programs.neovim.enable = true;
# Create a symlink from the Nix store to the Neovim config directory # Create a symlink from the Nix store to the Neovim config directory
xdg.configFile."nvim".source = neovimConfig; xdg.configFile."nvim".source = nvim-config;
# Other Home Manager options... # Other Home Manager options...
} }