aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/nixos/apps/moreutils/default.nix
blob: 9722c316aaee9962e2558943229d10e117cbf15b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ options, config, lib, pkgs, namespace, ... }:

with lib; with lib.${namespace}; let
  cfg = config.${namespace}.apps.moreutils;
in {
  options.${namespace}.apps.moreutils = with types; {
    enable = mkEnableOption "moreutils";
  };

  config = mkIf cfg.enable {
    environment.systemPackages = with pkgs; [
      moreutils
    ];
  };
}