fucking(refactored): everything
This commit is contained in:
@@ -1,13 +1,25 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.nixvim;
|
||||
in
|
||||
{
|
||||
options.modules.nixvim = {
|
||||
enable = lib.mkEnableOption "Nixvim";
|
||||
};
|
||||
imports = [
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
./plugins
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
config.home.packages = with pkgs; [
|
||||
nixfmt
|
||||
];
|
||||
programs.nixvim = {
|
||||
config.programs.nixvim = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
colorschemes.tokyonight.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user