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
|
freecad-wayland
|
||||||
ghostty
|
ghostty
|
||||||
kdePackages.okular
|
kdePackages.okular
|
||||||
|
xdg-user-dirs
|
||||||
|
|
||||||
# Browsers
|
# Browsers
|
||||||
librewolf
|
librewolf
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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...
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue