mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-01-11 22:30:25 +01:00
Desktop Related
base: all common configurations for all desktops.hyprland: Hyprland's configuration.
Why install I3/Hyprland in Home Manager instead of a NixOS Module?
- I3 & Hyprland's configuration file is located in
~/.config, which can be easily managed by Home Manager. - I have many user-specific systemd services, 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.
- By install packages as less as possible in NixOS Module, we can:
- Make the NixOS system more secure and stable.
- Make this flake more portable to other non-NixOS systems, as home-manager can be installed on any Linux system.