mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-19 07:54:28 +01:00
refactor: hosts/idols-ai/impermanence.nix
This commit is contained in:
@@ -54,10 +54,9 @@
|
||||
# the following directories will be passed to /persistent/home/$USER
|
||||
users.ryan = {
|
||||
directories = [
|
||||
"codes" # for personal code
|
||||
"work" # for work, contains a .gitconfig with my work email.
|
||||
"nix-config"
|
||||
"tmp"
|
||||
# ======================================
|
||||
# System Defaults
|
||||
# ======================================
|
||||
|
||||
"Downloads"
|
||||
"Music"
|
||||
@@ -65,23 +64,46 @@
|
||||
"Documents"
|
||||
"Videos"
|
||||
|
||||
{
|
||||
directory = ".gnupg";
|
||||
mode = "0700";
|
||||
}
|
||||
{
|
||||
directory = ".ssh";
|
||||
mode = "0700";
|
||||
}
|
||||
# ======================================
|
||||
# Codes / Work / Playground
|
||||
# ======================================
|
||||
"codes" # for personal code
|
||||
"work" # for work, contains a .gitconfig with my work email.
|
||||
"nix-config"
|
||||
"tmp"
|
||||
|
||||
# misc
|
||||
".config/pulse"
|
||||
".pki"
|
||||
".steam" # steam games
|
||||
".var" # flatpak app's data
|
||||
".terraform.d/plugin-cache" # terraform's plugin cache
|
||||
# ======================================
|
||||
# IDE / Editors
|
||||
# ======================================
|
||||
|
||||
# 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
|
||||
directory = ".pulumi";
|
||||
@@ -103,60 +125,72 @@
|
||||
directory = ".kube";
|
||||
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/freerdp"
|
||||
".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
|
||||
# ======================================
|
||||
".mozilla"
|
||||
".config/google-chrome"
|
||||
|
||||
# Joplin
|
||||
".config/joplin" # tui client
|
||||
".config/Joplin" # joplin-desktop
|
||||
|
||||
# neovim / remmina / flatpak / ...
|
||||
# ======================================
|
||||
# xdg data home & state home
|
||||
# Used by:
|
||||
# neovim, flatpak, autin, fcitx5, etc...
|
||||
# ======================================
|
||||
".local/share"
|
||||
".local/state"
|
||||
|
||||
# language package managers
|
||||
".npm"
|
||||
".conda" # generated by `conda-shell`
|
||||
"go"
|
||||
".cargo" # rust
|
||||
".m2" # maven
|
||||
".gradle" # gradle
|
||||
|
||||
# neovim plugins(wakatime & copilot)
|
||||
".wakatime"
|
||||
".config/github-copilot"
|
||||
|
||||
# others
|
||||
".config/blender"
|
||||
".config/LDtk"
|
||||
|
||||
# IM
|
||||
".config/QQ"
|
||||
".xwechat"
|
||||
# ======================================
|
||||
# Misc
|
||||
# ======================================
|
||||
".config/pulse"
|
||||
".var" # flatpak app's data
|
||||
];
|
||||
files = [
|
||||
".wakatime.cfg"
|
||||
|
||||
Reference in New Issue
Block a user