messaging and stuff
This commit is contained in:
parent
d914e05efc
commit
fbbfd597d5
11 changed files with 75 additions and 3 deletions
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./browser
|
||||
./internet
|
||||
./bluetooth
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,5 +9,6 @@
|
|||
imports = [
|
||||
./librewolf.nix
|
||||
./zen-browser.nix
|
||||
./tor.nix
|
||||
];
|
||||
}
|
||||
21
modules/connectivity/internet/tor.nix
Normal file
21
modules/connectivity/internet/tor.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options = {
|
||||
internet = {
|
||||
tor.enable = lib.mkEnableOption "enable tor";
|
||||
browsers.tor-browser.enable = lib.mkEnableOption "enable tor-browser";
|
||||
};
|
||||
};
|
||||
config = {
|
||||
home.packages = with pkgs; [
|
||||
(lib.mkIf (config.internet.browsers.tor-browser.enable) tor-browser)
|
||||
(lib.mkIf (config.internet.tor.enable) oniux)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue