nvf toogle

This commit is contained in:
smayzy 2025-07-06 18:55:01 +02:00
parent e9af7f9dad
commit f398d06399
2 changed files with 38 additions and 25 deletions

View File

@ -17,6 +17,8 @@
smayzy.locales.enable = true;
smayzy.nvf.enable = true;
users.users.smayzy = {
isNormalUser = true;
description = "smayzy";

View File

@ -1,5 +1,15 @@
{ config, lib, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.nvf.enable = mkOption {
type = types.bool;
default = false;
description = "nvf config";
};
config = mkIf config.smayzy.nvf.enable {
programs.nvf = {
enable = true;
settings = {
@ -29,4 +39,5 @@ programs.nvf = {
environment.systemPackages = [
pkgs.nil
];
};
}