mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-22 22:09:34 +01:00
18 lines
364 B
Nix
18 lines
364 B
Nix
{ 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
|
|
];
|
|
};
|
|
}
|