add kickstart-nvim

This commit is contained in:
Noa Aarts 2024-03-01 13:10:41 +01:00
parent e2c2018b90
commit bf8a22480d
4 changed files with 14 additions and 9 deletions

View file

@ -4,6 +4,11 @@
programs.neovim = { programs.neovim = {
enable = true; enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
extraLuaConfig = '' extraLuaConfig = ''
${builtins.readFile ./init.lua} ${builtins.readFile ./init.lua}

6
flake.lock generated
View file

@ -181,11 +181,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1709155917, "lastModified": 1709277403,
"narHash": "sha256-S4yHqDKFmJpFQExP7bkOSw+RQaSr8pdOrfSFCOv3G70=", "narHash": "sha256-xEpCiFOeu9Th0NUPUbsBncDKnXQd+A4XZd6r/FJ6dQw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "be87309e0c1da19d99d969625300aaed36ff1b91", "rev": "8c0bdb17e980b2ca64860e309ce601dd92ce0c51",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -93,10 +93,10 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
# $ nix search wget # $ nix search wget
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
neovim
sddm sddm
git git
zsh zsh
neovim
]; ];
# TODO find list of fonts to install # TODO find list of fonts to install
@ -115,10 +115,6 @@
# enable = true; # enable = true;
# enableSSHSupport = true; # enableSSHSupport = true;
# }; # };
programs.neovim.enable = true;
programs.neovim.defaultEditor = true;
programs.zsh.enable = true; programs.zsh.enable = true;
programs.hyprland.enable = true; programs.hyprland.enable = true;

View file

@ -69,7 +69,6 @@
kitty kitty
pipewire pipewire
lsd lsd
neovim
(writeShellScriptBin "wofi-launch" '' (writeShellScriptBin "wofi-launch" ''
${wofi}/bin/wofi --show drun ${wofi}/bin/wofi --show drun
'') '')
@ -106,6 +105,11 @@
echo "No match" echo "No match"
fi fi
'') '')
# Programming langs
go
nodejs
]; ];