From 87f53227ceda6dde1cff288fe8b2d065fe62191f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 2 Apr 2023 20:12:02 +0300 Subject: [PATCH] style: formatting --- lib/default.nix | 3 +-- lib/module/default.nix | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 600c999d..bf12f0da 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -2,9 +2,8 @@ dag = import ./dag.nix {inherit lib;}; booleans = import ./booleans.nix {inherit lib;}; types = import ./types {inherit lib;}; - + imports = [ ./assertions.nix ]; - } diff --git a/lib/module/default.nix b/lib/module/default.nix index da8e30b2..ae97a26e 100644 --- a/lib/module/default.nix +++ b/lib/module/default.nix @@ -48,11 +48,11 @@ in { }; assertions = mkMerge [ - mkIf - (config.programs.neovim-flake.enable) - { - assertion = !config.programs.neovim.enable; - message = "You cannot use neovim-flake together with vanilla neovim."; - } - ]; + mkIf + (config.programs.neovim-flake.enable) + { + assertion = !config.programs.neovim.enable; + message = "You cannot use neovim-flake together with vanilla neovim."; + } + ]; }