From 47ef05ab310bb466300e93d1459370450414fbc4 Mon Sep 17 00:00:00 2001 From: "grm@eyesin.space" Date: Tue, 2 Sep 2025 23:04:24 +0000 Subject: init --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 README.md (limited to 'README.md') 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`. -- cgit v1.2.3