nvf toogle
This commit is contained in:
parent
e9af7f9dad
commit
f398d06399
@ -17,6 +17,8 @@
|
||||
|
||||
smayzy.locales.enable = true;
|
||||
|
||||
smayzy.nvf.enable = true;
|
||||
|
||||
users.users.smayzy = {
|
||||
isNormalUser = true;
|
||||
description = "smayzy";
|
||||
|
||||
@ -1,6 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
programs.nvf = {
|
||||
options.smayzy.nvf.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "nvf config";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.nvf.enable {
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
settings = {
|
||||
vim = {
|
||||
@ -29,4 +39,5 @@ programs.nvf = {
|
||||
environment.systemPackages = [
|
||||
pkgs.nil
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user