refactor(nvf): move core nvf config to a module

This commit is contained in:
Mohammad Rafiq 2025-05-06 15:54:26 +08:00
parent 3e92ace989
commit 57a73bbcae
No known key found for this signature in database
5 changed files with 118 additions and 84 deletions

View file

@ -14,6 +14,7 @@ in
imports = [
inputs.home-manager.nixosModules.home-manager
./hardware.nix
./programs/editor.nix
];
options = {
@ -32,6 +33,12 @@ in
example = "firefox";
description = "What browser is the default.";
};
editor = lib.mkOption {
type = lib.types.str;
default = "nvf";
example = "nvf";
description = "What editor is the default.";
};
launcher = lib.mkOption {
type = lib.types.str;
default = "fuzzel";