refactor: hosts/idols-ai/impermanence.nix

This commit is contained in:
Ryan Yin
2025-06-28 11:46:09 +08:00
parent cc0b099d63
commit 194b1db1d2

View File

@@ -54,10 +54,9 @@
# the following directories will be passed to /persistent/home/$USER # the following directories will be passed to /persistent/home/$USER
users.ryan = { users.ryan = {
directories = [ directories = [
"codes" # for personal code # ======================================
"work" # for work, contains a .gitconfig with my work email. # System Defaults
"nix-config" # ======================================
"tmp"
"Downloads" "Downloads"
"Music" "Music"
@@ -65,23 +64,46 @@
"Documents" "Documents"
"Videos" "Videos"
{ # ======================================
directory = ".gnupg"; # Codes / Work / Playground
mode = "0700"; # ======================================
} "codes" # for personal code
{ "work" # for work, contains a .gitconfig with my work email.
directory = ".ssh"; "nix-config"
mode = "0700"; "tmp"
}
# misc # ======================================
".config/pulse" # IDE / Editors
".pki" # ======================================
".steam" # steam games
".var" # flatpak app's data
".terraform.d/plugin-cache" # terraform's plugin cache
# cloud native # neovim plugins(wakatime & copilot)
".wakatime"
".config/github-copilot"
# vscode
".vscode"
".config/Code"
".vscode-insiders"
".config/Code - Insiders"
# cursor ai editor
".cursor"
".config/Cursor"
# zed editor
".config/zed"
# doom-emacs
".config/emacs"
"org" # org files
# Joplin
".config/joplin" # tui client
".config/Joplin" # joplin-desktop
# ======================================
# Cloud Native
# ======================================
{ {
# pulumi - infrastructure as code # pulumi - infrastructure as code
directory = ".pulumi"; directory = ".pulumi";
@@ -103,60 +125,72 @@
directory = ".kube"; directory = ".kube";
mode = "0700"; mode = "0700";
} }
".terraform.d/plugin-cache" # terraform's plugin cache
# remote desktop # ======================================
# language package managers
# ======================================
".npm" # typsescript/javascript
"go"
".cargo" # rust
".m2" # java maven
".gradle" # java gradle
".conda" # python, generated by `conda-shell`
# ======================================
# Security
# ======================================
{
directory = ".gnupg";
mode = "0700";
}
{
directory = ".ssh";
mode = "0700";
}
".pki"
# ======================================
# Games / Media
# ======================================
".steam" # steam games
".config/blender"
".config/LDtk"
# ======================================
# Instant Messaging
# ======================================
".config/QQ"
".xwechat"
# ======================================
# Meeting / Remote Desktop
# ======================================
".config/remmina" ".config/remmina"
".config/freerdp" ".config/freerdp"
".zoom" ".zoom"
# doom-emacs # ======================================
".config/emacs"
"org" # org files
# vscode
".vscode"
".config/Code"
".vscode-insiders"
".config/Code - Insiders"
# cursor ai editor
".cursor"
".config/Cursor"
# zed editor
".config/zed"
# browsers # browsers
# ======================================
".mozilla" ".mozilla"
".config/google-chrome" ".config/google-chrome"
# Joplin # ======================================
".config/joplin" # tui client # xdg data home & state home
".config/Joplin" # joplin-desktop # Used by:
# neovim, flatpak, autin, fcitx5, etc...
# neovim / remmina / flatpak / ... # ======================================
".local/share" ".local/share"
".local/state" ".local/state"
# language package managers # ======================================
".npm" # Misc
".conda" # generated by `conda-shell` # ======================================
"go" ".config/pulse"
".cargo" # rust ".var" # flatpak app's data
".m2" # maven
".gradle" # gradle
# neovim plugins(wakatime & copilot)
".wakatime"
".config/github-copilot"
# others
".config/blender"
".config/LDtk"
# IM
".config/QQ"
".xwechat"
]; ];
files = [ files = [
".wakatime.cfg" ".wakatime.cfg"