{ config, pkgs, lib, ... }: { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "obsidian" ]; # TODO: Disallow insecure Electron version electron-24.8.6. nixpkgs.config.permittedInsecurePackages = [ "electron-24.8.6" ]; users.users.yoda = { packages = with pkgs; [ obsidian # Markdown notes ]; }; }