Partial README update
This commit is contained in:
parent
3f176f4ae7
commit
5cb656fb27
1 changed files with 3 additions and 6 deletions
|
@ -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.
|
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
|
### Usage
|
||||||
My config uses these tools:
|
My config uses these tools:
|
||||||
|
@ -17,12 +17,9 @@ My config uses these tools:
|
||||||
``Foot`` - Terminal emulator
|
``Foot`` - Terminal emulator
|
||||||
``Rofi`` - App launcher and menu system
|
``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.
|
`flakedate` - Update the flake.lock, which renews the sources of nixpkgs. This is needed to update the system.
|
||||||
`sysswitch` - Switch the system profile.
|
`nhs` - An alias for nh to 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.
|
|
||||||
|
|
||||||
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.
|
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:
|
For my use, unlocking secrets can be done with this command:
|
||||||
|
|
Loading…
Add table
Reference in a new issue