This commit is contained in:
Jimbo 2024-09-10 22:08:17 -04:00
parent 94e484722c
commit 0cf8dd8e69

View file

@ -11,18 +11,18 @@ An initial install will have to be ran as ``nixos-rebuild switch --flake /etc/ni
Home-Manager is handled separately, despite being in the same folder. A rebuild of a user's home would have to be done with ``home-manager switch --flake /etc/nixos``. This will pull the config as defined in the flake as ``USER@HOSTNAME``, where USER is the user running the ``home-manager`` command. Home-Manager is handled separately, despite being in the same folder. A rebuild of a user's home would have to be done with ``home-manager switch --flake /etc/nixos``. This will pull the config as defined in the flake as ``USER@HOSTNAME``, where USER is the user running the ``home-manager`` command.
### Usage ### Usage
My config uses these tools: My config uses these tools:
Sway - Window manager / Desktop Sway - Window manager / Desktop
Foot - Terminal emulator Foot - Terminal emulator
Rofi - App launcher and menu system Rofi - App launcher and menu system
ZSH - Primary shell ZSH - Primary shell
I have made shell aliases in ZSH for rebuilding the system. They are as follows: I have made shell aliases in ZSH for rebuilding the 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. `sysswitch` - Switch the system profile.
`homeswitch` = Switch the user's home-manager profile. `homeswitch` = Switch the user's home-manager profile.
`nixswitch` = Switch to new config for both user and system. `nixswitch` = Switch to new config for both user and system.
`nixdate` = Same as before, but updating flake.nix before doing so. This is essentially a full system update. `nixdate` = Same as before, but updating flake.nix before doing so. This is essentially a full system update.
My config heavily references a gnupg-protected secrets file. These will have to be adapted and rewritten if anyone is to use my config for themselves. My config heavily references a gnupg-protected secrets file. These will have to be adapted and rewritten if anyone is to use my config for themselves.
For my use, unlocking secrets can be done with this command: For my use, unlocking secrets can be done with this command: