remove config.sane.home-manager.enable as it was always set anyway

This commit is contained in:
2023-01-30 02:10:12 +00:00
parent 39effa15ad
commit 216c812f7b
18 changed files with 17 additions and 44 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
let
inherit (builtins) map;
@@ -70,7 +70,6 @@ let
plugin-config-tex = concatMapStrings (p: optionalString (p.type or "" == "viml") p.config) plugins;
plugin-config-lua = concatMapStrings (p: optionalString (p.type or "" == "lua") p.config) plugins;
in
lib.mkIf config.sane.home-manager.enable
{
# private because there could be sensitive things in the swap
sane.persist.home.private = [ ".cache/vim-swap" ];