feat: wget

This commit is contained in:
punkfairie 2025-05-31 13:47:49 -07:00
parent fd4481a2e1
commit 00a252a009
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
6 changed files with 26 additions and 1 deletions

View file

@ -19,6 +19,7 @@ in {
neovim = enabled;
nix-output-monitor = enabled;
ripgrep = enabled;
wget = enabled;
};
services = {

View file

@ -7,5 +7,6 @@
./neovim.nix
./nix-output-monitor.nix
./ripgrep.nix
./wget.nix
];
}

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}: let
cfg = config.marleyos.programs.wget;
in {
options.marleyos.programs.wget.enable = lib.mkEnableOption "wget";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
wget
];
};
}

View file

@ -32,6 +32,7 @@ in {
starship = enabled;
systemctl = enabled;
tmux = enabled;
wget = enabled;
};
}
#

View file

@ -31,6 +31,7 @@
./tea.nix
./tmux.nix
./waybar.nix
./wget.nix
# TODO: uncomment when swaylock is figured out
# ./wlogout

View file

@ -1,12 +1,17 @@
{
marleylib,
lib,
config,
osConfig,
pkgs,
...
}: let
inherit (marleylib.module) mkEnableOption';
cfg = config.marleyos.programs.wget;
osCfg = osConfig.marleyos.programs.wget;
in {
options.marleyos.programs.wget.enable = lib.mkEnableOption "wget";
options.marleyos.programs.wget.enable = mkEnableOption' "wget" osCfg.enable;
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [