Added nixvim
This commit is contained in:
parent
e9356e164c
commit
bf8b990a71
5 changed files with 329 additions and 9 deletions
|
|
@ -2,12 +2,13 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, stylix, hostname, system, inputs, ... }:
|
||||
{ config, pkgs, stylix, hostname, system, nixvim, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
inputs.home-manager.nixosModules.default
|
||||
inputs.nixvim.nixosModules.nixvim
|
||||
./firefox.nix
|
||||
];
|
||||
|
||||
|
|
@ -167,9 +168,19 @@
|
|||
mime.enable = true;
|
||||
};
|
||||
|
||||
programs.neovim = {
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
|
||||
colorschemes.catppuccin.enable = true;
|
||||
plugins = {
|
||||
lualine.enable = true;
|
||||
};
|
||||
|
||||
opts = {
|
||||
number = true;
|
||||
shiftwidth = 4;
|
||||
};
|
||||
};
|
||||
#https://discourse.nixos.org/t/dolphin-does-not-have-mime-associations/48985/3
|
||||
# This fixes the unpopulated MIME menus
|
||||
|
|
@ -240,7 +251,7 @@
|
|||
};
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = {inherit pkgs; inherit hostname; inherit inputs;};
|
||||
extraSpecialArgs = {inherit pkgs; inherit hostname; inherit nixvim; inherit inputs;};
|
||||
users = {
|
||||
"kylekrein" = import ./home.nix;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, stylix, ... }:
|
||||
{ config, pkgs, stylix, inputs, ... }:
|
||||
|
||||
let
|
||||
#nur = import (builtins.fetchTarball {
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
imports =
|
||||
[
|
||||
./hyprland/hyprland.nix
|
||||
./nixvim
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
|
|
|
|||
20
nixos/nixvim/default.nix
Normal file
20
nixos/nixvim/default.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
|
||||
programs.nixvim = {
|
||||
enable = true;
|
||||
colorschemes.catppuccin.enable = true;
|
||||
plugins = {
|
||||
|
||||
};
|
||||
opts = {
|
||||
number = true;
|
||||
shiftwidth = 4;
|
||||
relativenumber = false;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue