diff --git a/README.md b/README.md index 943c42d..5e3855e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Installing this flake is best done from an existing system. A minimal install is An initial install will can be done with ``nixos-rebuild switch --flake /etc/nixos/.#host``, where ``host`` is a hostname defined in this flake. You may also have to enable "experimental" features with a flag, such as nix-command and flakes. -Home-Manager is handled separately from the system, despite being in the same folder. A rebuild of a user's home is done with ``home-manager switch --flake /etc/nixos/.#user@host``, as defined under ``homeConfigurations`` in the flake. +Home-Manager is handled with the system, but can be used on other systems with Nix without root. A rebuild of a user's home is done with ``home-manager switch --flake /etc/nixos/.#user``, as defined under ``homeConfigurations`` in the flake. ### Usage My config uses these tools: @@ -17,12 +17,9 @@ My config uses these tools: ``Foot`` - Terminal emulator ``Rofi`` - App launcher and menu system -I have defined shell aliases in ZSH for rebuilding different parts of Nix, they are as follows: +Shell aliases are defined in the home manager config to rebuild the Nix system, they are as follows: `flakedate` - Update the flake.lock, which renews the sources of nixpkgs. This is needed to update the system. -`sysswitch` - Switch the system profile. -`homeswitch` = Switch the user's home-manager profile. -`nixswitch` = Switch both user and system profile. -`nixdate` = Same as before, but updating flake.nix before doing so. This is essentially a full system update. +`nhs` - An alias for nh to switch the system profile. My server's config heavily references a git-crypt protected secrets file. These will have to be adapted and rewritten if anyone is to use my config directly. For my use, unlocking secrets can be done with this command: