Merge pull request #3 from jsw08/desktop-option-expansion

Desktop option expansion
This commit is contained in:
Jurn Wubben 2025-05-24 15:11:44 +02:00 committed by Jurn Wubben
commit 268fb0609f
54 changed files with 441 additions and 362 deletions

View file

@ -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.
}