nix-git/modules/obsidian.nix

18 lines
348 B
Nix
Raw Normal View History

2023-11-28 15:23:44 +01:00
{ config, pkgs, lib, ... }:
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"obsidian"
];
2023-12-15 13:03:18 +01:00
# TODO: Disallow insecure Electron version.
2023-11-28 15:23:44 +01:00
nixpkgs.config.permittedInsecurePackages = [
2023-12-15 13:03:18 +01:00
"electron-25.9.0"
2023-11-28 15:23:44 +01:00
];
users.users.yoda = {
packages = with pkgs; [
obsidian # Markdown notes
];
};
}