This commit is contained in:
Daniel Langbein 2023-09-20 22:17:52 +02:00
parent 11e0a39fb2
commit e3ddf1cbaa
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
5 changed files with 18 additions and 1 deletions

View File

@ -52,6 +52,7 @@ in
../../modules/journalwatch.nix ../../modules/journalwatch.nix
#../../modules/waydroid.nix #../../modules/waydroid.nix
../../modules/ntfs.nix ../../modules/ntfs.nix
#../../modules/veracrypt.nix
]; ];
networking.hostName = "yodaTab"; networking.hostName = "yodaTab";

View File

@ -52,6 +52,7 @@ in
../../modules/journalwatch.nix ../../modules/journalwatch.nix
#../../modules/waydroid.nix #../../modules/waydroid.nix
../../modules/ntfs.nix ../../modules/ntfs.nix
#../../modules/veracrypt.nix
]; ];
networking.hostName = "yodaTux"; networking.hostName = "yodaTux";

View File

@ -54,6 +54,7 @@ in
../../modules/journalwatch.nix ../../modules/journalwatch.nix
#../../modules/waydroid.nix #../../modules/waydroid.nix
#../../modules/ntfs.nix #../../modules/ntfs.nix
#../../modules/veracrypt.nix
]; ];
networking.hostName = "yodaYoga"; networking.hostName = "yodaYoga";

View File

@ -41,7 +41,6 @@
tor-browser-bundle-bin # Tor web browser tor-browser-bundle-bin # Tor web browser
keepassxc # Password manager keepassxc # Password manager
freetube # YouTube client freetube # YouTube client
veracrypt # Encrypted filesystem
joplin-desktop # Markdown notes joplin-desktop # Markdown notes
rnote # Handwritten notes rnote # Handwritten notes
xournalpp # Handwritte notes xournalpp # Handwritte notes

15
modules/veracrypt.nix Normal file
View File

@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
# Looks as if TrueCrypt is unfree software
# https://github.com/NixOS/nixpkgs/blob/5d017a8822e0907fb96f7700a319f9fe2434de02/pkgs/applications/misc/veracrypt/default.nix#L59
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"veracrypt"
];
users.users.yoda = {
packages = with pkgs; [
veracrypt # Encrypted filesystem
];
};
}