{ config, lib, pkgs, ... }: { imports = [ ]; options.me = { ares.enable = lib.mkOption { type = lib.types.bool; default = false; example = true; description = "Whether we want to install ares."; }; }; config = lib.mkIf config.me.ares.enable ( lib.mkMerge [ { } (lib.mkIf config.me.graphical { environment.systemPackages = with pkgs; [ ares ]; environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) { hideMounts = true; users.talexander = { directories = [ { directory = ".local/share/ares"; user = "talexander"; group = "talexander"; mode = "0755"; } ]; }; }; }) ] ); }