mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
fix: veracrypt
This commit is contained in:
parent
289e0a2ed3
commit
a69c628c34
@ -1,7 +1,12 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
# Looks as if TrueCrypt is unfree software
|
# Looks as if TrueCrypt is unfree software
|
||||||
# https://github.com/NixOS/nixpkgs/blob/5d017a8822e0907fb96f7700a319f9fe2434de02/pkgs/applications/misc/veracrypt/default.nix#L59
|
# https://github.com/NixOS/nixpkgs/blob/5d017a8822e0907fb96f7700a319f9fe2434de02/pkgs/applications/misc/veracrypt/default.nix#L59
|
||||||
|
|
||||||
|
# Allow installation of unfree software Veracrypt.
|
||||||
|
# Alternatively, run Veracrypt with
|
||||||
|
# NIXPKGS_ALLOW_UNFREE=1 nix-shell -p veracrypt
|
||||||
|
# https://nixos.wiki/wiki/Unfree_Software
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
"veracrypt"
|
"veracrypt"
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user