mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-23 09:21:00 +01:00
feat: add README into subfolders
This commit is contained in:
6
home/README.md
Normal file
6
home/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Home Manager's Submodules
|
||||
|
||||
1. `base`: The base module that is suitable for both Linux and macOS.
|
||||
2. `linux`: Linux-specific configuration.
|
||||
3. `darwin`: macOS-specific configuration.
|
||||
|
||||
6
home/base/README.md
Normal file
6
home/base/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Home Manager's Base Submodules
|
||||
|
||||
2. `server`: Configuration which is suitable for both servers and desktops.
|
||||
1. `desktop`: Configuration for desktop environments, such as Hyprland, I3, etc.
|
||||
1. it import `server` as its submodule.
|
||||
|
||||
7
home/darwin/README.md
Normal file
7
home/darwin/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Home Manager's Darwin Submodules
|
||||
|
||||
1. `core.nix`: some basic configuration.
|
||||
2. `nushell.nix`: nushell's configuration for darwin.
|
||||
3. `rime-squirrel.nix`: [rime-squirrel](https://github.com/rime/squirrel)'s configuration.
|
||||
4. `default.nix`: the entrypoint of darwin's configuration, it import all the submodules above.
|
||||
|
||||
13
home/linux/README.md
Normal file
13
home/linux/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Home Manager's Linux Submodules
|
||||
|
||||
1. `base`: The base module that is suitable for any NixOS environment.
|
||||
2. `desktop`: Configuration for desktop environments, such as Hyprland, I3, etc.
|
||||
3. `fcitx5`: fcitx5's configuration(Chinese input method).
|
||||
4. `hyprland`: Hyprland's configuration.
|
||||
5. `i3`: i3's configuration.
|
||||
6. `server.nix`: Configuration which is suitable for both servers and desktops. It import only `base` as its submodule.
|
||||
1. used by all my nixos servers.
|
||||
6. `desktop-hyprland.nix`: the entrypoint of hyprland's configuration, it import all the submodules above, except `i3`.
|
||||
1. used by my hyprland desktop.
|
||||
7. `desktop-i3.nix`: the entrypoint of i3's configuration, it import all the submodules above, except `hyprland`.
|
||||
1. used by my i3 desktop.
|
||||
@@ -8,7 +8,7 @@ they are decrypted only when they are finally used.
|
||||
|
||||
In addition, we further improve the security of secrets files by storing them in a separate private repository.
|
||||
|
||||
This directory contains this README.md, and a `default.nix` that used to decrypt all my secrets via agenix, and then I can use them in this flake.
|
||||
This directory contains this README.md, and a `nixos.nix`/`darwin.nix` that used to decrypt all my secrets via agenix, and then I can use them in this flake.
|
||||
|
||||
## Adding or Updating Secrets
|
||||
|
||||
|
||||
Reference in New Issue
Block a user