mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-25 22:35:03 +01:00
18 lines
348 B
Nix
18 lines
348 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
"obsidian"
|
|
];
|
|
|
|
# TODO: Disallow insecure Electron version.
|
|
nixpkgs.config.permittedInsecurePackages = [
|
|
"electron-25.9.0"
|
|
];
|
|
|
|
users.users.yoda = {
|
|
packages = with pkgs; [
|
|
obsidian # Markdown notes
|
|
];
|
|
};
|
|
}
|