mv mullvad to module
This commit is contained in:
1 parent
7c40fea9b0
commit
168492c26b
6 files changed
+27
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkOption types;
|
||||
in
|
||||
{
|
||||
options.smayzy.mullvad.enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
description = "mullvad's software";
|
||||
};
|
||||
|
||||
config = mkIf config.smayzy.mullvad.enable {
|
||||
environment.systemPackages = with pkgs; [
|
||||
mullvad-vpn
|
||||
mullvad-browser
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user