mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
18 lines
458 B
Nix
18 lines
458 B
Nix
{ lib, config, pkgs, ... }:
|
|
{
|
|
options.swarselmodules.nvd = lib.mkEnableOption "nvd config";
|
|
config = lib.mkIf config.swarselmodules.nvd {
|
|
|
|
environment.systemPackages = [
|
|
pkgs.nvd
|
|
];
|
|
|
|
# system.activationScripts.diff = {
|
|
# supportsDryActivation = true;
|
|
# text = ''
|
|
# ${pkgs.nvd}/bin/nvd --color=always --nix-bin-dir=${pkgs.nix}/bin diff \
|
|
# /run/current-system "$systemConfig"
|
|
# '';
|
|
# };
|
|
};
|
|
}
|