2023-07-27 21:14:39 +08:00
|
|
|
inputs:
|
2023-11-19 17:15:44 +08:00
|
|
|
{
|
|
|
|
options.nixos.users = let inherit (inputs.lib) mkOption types; in
|
2023-09-12 16:31:20 +08:00
|
|
|
{
|
2023-11-19 17:15:44 +08:00
|
|
|
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 ];
|
|
|
|
}
|
2023-07-27 21:14:39 +08:00
|
|
|
|
|
|
|
# environment.persistence."/impermanence".users.chn =
|
|
|
|
# {
|
2023-09-01 21:05:26 +08:00
|
|
|
# directories =
|
|
|
|
# [
|
|
|
|
# "Desktop"
|
|
|
|
# "Documents"
|
|
|
|
# "Downloads"
|
|
|
|
# "Music"
|
|
|
|
# "repo"
|
|
|
|
# "Pictures"
|
|
|
|
# "Videos"
|
2023-07-27 21:14:39 +08:00
|
|
|
|
2023-09-01 21:05:26 +08:00
|
|
|
# ".cache"
|
|
|
|
# ".config"
|
|
|
|
# ".gnupg"
|
|
|
|
# ".local"
|
|
|
|
# ".ssh"
|
|
|
|
# ".android"
|
|
|
|
# ".exa"
|
|
|
|
# ".gnome"
|
|
|
|
# ".Mathematica"
|
|
|
|
# ".mozilla"
|
|
|
|
# ".pki"
|
|
|
|
# ".steam"
|
|
|
|
# ".tcc"
|
|
|
|
# ".vim"
|
|
|
|
# ".vscode"
|
|
|
|
# ".Wolfram"
|
|
|
|
# ".zotero"
|
2023-07-27 21:14:39 +08:00
|
|
|
|
2023-09-01 21:05:26 +08:00
|
|
|
# ];
|
|
|
|
# files =
|
|
|
|
# [
|
|
|
|
# ".bash_history"
|
|
|
|
# ".cling_history"
|
|
|
|
# ".gitconfig"
|
|
|
|
# ".gtkrc-2.0"
|
|
|
|
# ".root_hist"
|
|
|
|
# ".viminfo"
|
|
|
|
# ".zsh_history"
|
|
|
|
# ];
|
2023-09-18 19:08:04 +08:00
|
|
|
# };
|