nvf toogle
This commit is contained in:
parent
e9af7f9dad
commit
f398d06399
@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
smayzy.locales.enable = true;
|
smayzy.locales.enable = true;
|
||||||
|
|
||||||
|
smayzy.nvf.enable = true;
|
||||||
|
|
||||||
users.users.smayzy = {
|
users.users.smayzy = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "smayzy";
|
description = "smayzy";
|
||||||
|
|||||||
@ -1,5 +1,15 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ 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 = {
|
programs.nvf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -29,4 +39,5 @@ programs.nvf = {
|
|||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.nil
|
pkgs.nil
|
||||||
];
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user