Aded neovim
This commit is contained in:
parent
2d0105093e
commit
d7bd96d68d
3 changed files with 19 additions and 6 deletions
|
@ -36,6 +36,7 @@
|
|||
freecad-wayland
|
||||
ghostty
|
||||
kdePackages.okular
|
||||
xdg-user-dirs
|
||||
|
||||
# Browsers
|
||||
librewolf
|
||||
|
|
|
@ -22,6 +22,16 @@
|
|||
../../config/sway.nix
|
||||
];
|
||||
|
||||
# services.greetd = {
|
||||
# enable = true;
|
||||
# settings = {
|
||||
# default_session = {
|
||||
# command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd hyprland";
|
||||
# user = "greeter";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
|
|
@ -2,11 +2,13 @@
|
|||
|
||||
let
|
||||
# Replace with the URL of your Neovim configuration GitHub repository
|
||||
neovimConfig = builtins.fetchGit {
|
||||
url = "https://github.com/fwastring/nvim.git";
|
||||
# Optional: specify a specific branch, tag, or commit hash
|
||||
ref = "main";
|
||||
};
|
||||
nvim-config = {
|
||||
url = "github:fwastring/nvim?exportIgnore=1";
|
||||
# Use a specific, locked commit hash here
|
||||
# You can get this by running 'nix flake lock'
|
||||
# after adding the input
|
||||
flake = false; # Tell Nix this is not a flake
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
|
@ -14,7 +16,7 @@ in
|
|||
# programs.neovim.enable = true;
|
||||
|
||||
# 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...
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue