add obsidian

This commit is contained in:
Daniel Langbein 2023-11-28 15:23:44 +01:00
parent 093bb23730
commit c1d9df1bd1
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
3 changed files with 19 additions and 1 deletions

View File

@ -29,7 +29,7 @@
../../modules/nextcloud-integration.nix ../../modules/nextcloud-integration.nix
../../modules/signal-desktop.nix ../../modules/signal-desktop.nix
../../modules/element-desktop.nix ../../modules/element-desktop.nix
../../modules/joplin-desktop.nix ../../modules/obsidian.nix
../../modules/firefox.nix ../../modules/firefox.nix
../../modules/thunderbird.nix ../../modules/thunderbird.nix
../../modules/tor-browser.nix ../../modules/tor-browser.nix

View File

@ -29,6 +29,7 @@
../../modules/signal-desktop.nix ../../modules/signal-desktop.nix
../../modules/element-desktop.nix ../../modules/element-desktop.nix
../../modules/joplin-desktop.nix ../../modules/joplin-desktop.nix
../../modules/obsidian.nix
../../modules/firefox.nix ../../modules/firefox.nix
../../modules/thunderbird.nix ../../modules/thunderbird.nix
../../modules/tor-browser.nix ../../modules/tor-browser.nix

17
modules/obsidian.nix Normal file
View File

@ -0,0 +1,17 @@
{ 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
];
};
}