From af225f2271a4865a73446877d790b7cac43be8ff Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 1 Feb 2024 00:52:27 +0800 Subject: [PATCH] docs: darwin & linux --- home/linux/desktop/README.md | 4 ++-- modules/darwin/README.md | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 modules/darwin/README.md diff --git a/home/linux/desktop/README.md b/home/linux/desktop/README.md index dedc1d31..c796d9a7 100644 --- a/home/linux/desktop/README.md +++ b/home/linux/desktop/README.md @@ -9,8 +9,8 @@ ## Why install I3/Hyprland in Home Manager instead of a NixOS Module? 1. I3 & Hyprland's configuration file is located in `~/.config`, which can be easily managed by Home Manager. -2. There're other user-specific systemd servcies, such gammastep, wallpaper-switcher, etc. which can be easily managed by Home Manager, but if we start i3/hyprland in NixOS Module, they may failed to start automatically. With i3/hyprland installed via home-manager, we can control their systemd service's dependent order, to avoid issues like this. -3. By install as less as possible in NixOS Module, we can: +2. I have many user-specific systemd servcies, such gammastep, wallpaper-switcher, etc. Which can be easily managed by Home Manager, but if we add i3/hyprland in a NixOS Module, those user-level services may failed to start automatically. With i3/hyprland in a Home Manager Module, we can control their systemd service's dependent order more easily, so we can avoid issues like this. +3. By install packages as less as possible in NixOS Module, we can: 1. Make the NixOS system more secure and stable. 2. Make this flake more portable to other non-NixOS systems, as home-manager can be installed on any Linux system. diff --git a/modules/darwin/README.md b/modules/darwin/README.md new file mode 100644 index 00000000..3b8539f2 --- /dev/null +++ b/modules/darwin/README.md @@ -0,0 +1,5 @@ +# Nix-Darwin's Modules + +This directory contains the modules for [Nix-Darwin](https://github.com/LnL7/nix-darwin). + +See [ryan4yin/nix-darwin-kickstarter](https://github.com/ryan4yin/nix-darwin-kickstarter) for a more detailed explanation.