mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-24 22:29:33 +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
|
||
|
];
|
||
|
};
|
||
|
}
|