mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-06 07:19:27 -05:00
1.4 KiB
1.4 KiB
Install scripts using Nix to achieve cross-distros
- This directory is currently WIP.
- See also Install scripts | illogical-impulse
- See also #1061
NOTE: The sdist/nix is not for NixOS but every distro, using Nix and home-manager.
TODO:
Write a proper flake.nix and optionally home.nix and other files under ./sdist/nix/iiqs-hm/ to install all dependencies that ./sdist/arch/install-deps.sh does. (excluding the screenlock)
TODO: In this script, implement the process below:
- Warning user about "this script is only experimental and must only use it at your own risks.", and prompt
y/N(default N) before proceeding. - If nix not installed:
- install nix via NixOS/experimental-nix-installer
- Enable nix for shell
- Update: Skip this step cuz the nix-installer will handle it automatically e.g. in
/etc/zsh/zshrc.
- Update: Skip this step cuz the nix-installer will handle it automatically e.g. in
- Ensure the experimental feature, Nix Flake, is enabled.
- cd to
iiqs-hmand use something likehome-manager switch --flake .#iiqsto install the dependencies. - Install screen lock using system package manager of the current distro.
Note that this script must be idempotent.
TODO: Write guide for people already use nix, so they can manually grab things from this repo to their own Nix/home-manager configurations to install the dependencies.