refactor(nvf): move core nvf config to a module
This commit is contained in:
parent
3e92ace989
commit
57a73bbcae
5 changed files with 118 additions and 84 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue