diff options
author | grm@eyesin.space <grm@eyesin.space> | 2025-09-02 23:04:24 +0000 |
---|---|---|
committer | grm@eyesin.space <grm@eyesin.space> | 2025-09-02 23:04:24 +0000 |
commit | 47ef05ab310bb466300e93d1459370450414fbc4 (patch) | |
tree | 808f155d2871f831af743509de982c4c9789357c /README.md | |
download | nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.gz nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.tar.bz2 nixos-config-47ef05ab310bb466300e93d1459370450414fbc4.zip |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..82e5703 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# nixos-config + +NixOS Configurations for my systems, using [Flakes](https://nixos.wiki/wiki/Flakes) and [Home Manager](https://nix-community.github.io/home-manager/). + +## Install a new system + +Boot a NixOS installation media, format the drive and mount root partition on `/mnt` and all additional partitions under this path. + +Clone this repository and run `sudo nixos-install --flake .#HOSTNAME` to install `HOSTNAME` system. + +## Update the system + +On this repo run `make ls-updates` to get a list of packages that will be updated, and `sudo make deploy` to install them and switch the system to the new configuration. To install the upgrades but switch to the new configuration on the next reboot, instead run `sudo make deploy-boot`. + +To directly upgrade all packages and switch to the new configuration without showing changes, run `sudo make upgrade`. + +## Cleanup + +To remove old configurations and clean up the system, run `make gc-old`. To only remove unreachable objects, run `make gc`. |