diff --git a/hosts/yodaTab/configuration.nix b/hosts/yodaTab/configuration.nix index 36f4ef8..89ce8b1 100644 --- a/hosts/yodaTab/configuration.nix +++ b/hosts/yodaTab/configuration.nix @@ -29,7 +29,7 @@ ../../modules/nextcloud-integration.nix ../../modules/signal-desktop.nix ../../modules/element-desktop.nix - ../../modules/joplin-desktop.nix + ../../modules/obsidian.nix ../../modules/firefox.nix ../../modules/thunderbird.nix ../../modules/tor-browser.nix diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 8b23fd0..f2a8210 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -29,6 +29,7 @@ ../../modules/signal-desktop.nix ../../modules/element-desktop.nix ../../modules/joplin-desktop.nix + ../../modules/obsidian.nix ../../modules/firefox.nix ../../modules/thunderbird.nix ../../modules/tor-browser.nix diff --git a/modules/obsidian.nix b/modules/obsidian.nix new file mode 100644 index 0000000..4f17a4c --- /dev/null +++ b/modules/obsidian.nix @@ -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 + ]; + }; +}