mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-12-23 02:36:05 +01:00
refactor
This commit is contained in:
parent
11e0a39fb2
commit
e3ddf1cbaa
@ -52,6 +52,7 @@ in
|
||||
../../modules/journalwatch.nix
|
||||
#../../modules/waydroid.nix
|
||||
../../modules/ntfs.nix
|
||||
#../../modules/veracrypt.nix
|
||||
];
|
||||
|
||||
networking.hostName = "yodaTab";
|
||||
|
@ -52,6 +52,7 @@ in
|
||||
../../modules/journalwatch.nix
|
||||
#../../modules/waydroid.nix
|
||||
../../modules/ntfs.nix
|
||||
#../../modules/veracrypt.nix
|
||||
];
|
||||
|
||||
networking.hostName = "yodaTux";
|
||||
|
@ -54,6 +54,7 @@ in
|
||||
../../modules/journalwatch.nix
|
||||
#../../modules/waydroid.nix
|
||||
#../../modules/ntfs.nix
|
||||
#../../modules/veracrypt.nix
|
||||
];
|
||||
|
||||
networking.hostName = "yodaYoga";
|
||||
|
@ -41,7 +41,6 @@
|
||||
tor-browser-bundle-bin # Tor web browser
|
||||
keepassxc # Password manager
|
||||
freetube # YouTube client
|
||||
veracrypt # Encrypted filesystem
|
||||
joplin-desktop # Markdown notes
|
||||
rnote # Handwritten notes
|
||||
xournalpp # Handwritte notes
|
||||
|
15
modules/veracrypt.nix
Normal file
15
modules/veracrypt.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user