Merge pull request #3 from jsw08/desktop-option-expansion
Desktop option expansion
This commit is contained in:
commit
268fb0609f
54 changed files with 441 additions and 362 deletions
|
|
@ -1,4 +1,16 @@
|
|||
{lib, ...}: {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
options.niksos.neovim = lib.mkEnableOption "the neovim editor";
|
||||
|
||||
config.assertions = lib.mkIf config.niksos.neovim [
|
||||
{
|
||||
assertion = config.niksos.desktop.enable;
|
||||
message = "The neovim option needs desktop enabled to work properly (it enables home-manager).";
|
||||
}
|
||||
];
|
||||
# The actual config resides in NixOS/home/programs/neovim.
|
||||
# NOTE: This is for the customisation of the neovim editor, which uses a lot of disk space. Barebones version will be installed anyhow.
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue