diff options
author | azahi <azat@bahawi.net> | 2025-02-17 02:21:56 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2025-02-17 02:21:56 +0300 |
commit | 59180328cda59817d71cd58c8f48ead047375064 (patch) | |
tree | 2cdd7d1bfa309839ef624c19daf283f510aacf69 /modules/wget.nix | |
parent | 2025-02-05 (diff) |
2025-02-17
Diffstat (limited to 'modules/wget.nix')
-rw-r--r-- | modules/wget.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/wget.nix b/modules/wget.nix index 0e8ee64..b1f28c2 100644 --- a/modules/wget.nix +++ b/modules/wget.nix @@ -4,14 +4,13 @@ pkgs, ... }: -with lib; let cfg = config.nixfiles.modules.wget; in { - options.nixfiles.modules.wget.enable = mkEnableOption "wget"; + options.nixfiles.modules.wget.enable = lib.mkEnableOption "wget"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { hm = { programs.bash.shellAliases.wget = "wget --hsts-file=/tmp/wget-hsts"; @@ -32,6 +31,6 @@ in ''; }; - environment.systemPackages = with pkgs; [ wget ]; + environment.systemPackages = [ pkgs.wget ]; }; } |