inputs: { options.nixos.users = let inherit (inputs.lib) mkOption types; in { users = mkOption { type = types.listOf types.nonEmptyStr; default = [ "root" "chn" ]; }; sharedModules = mkOption { type = types.listOf types.anything; default = []; }; }; imports = inputs.localLib.mkModules [ ./chn ./root ./xll ./yjq ./yxy ./zem ]; } # environment.persistence."/impermanence".users.chn = # { # directories = # [ # "Desktop" # "Documents" # "Downloads" # "Music" # "repo" # "Pictures" # "Videos" # ".cache" # ".config" # ".gnupg" # ".local" # ".ssh" # ".android" # ".exa" # ".gnome" # ".Mathematica" # ".mozilla" # ".pki" # ".steam" # ".tcc" # ".vim" # ".vscode" # ".Wolfram" # ".zotero" # ]; # files = # [ # ".bash_history" # ".cling_history" # ".gitconfig" # ".gtkrc-2.0" # ".root_hist" # ".viminfo" # ".zsh_history" # ]; # };