This commit is contained in:
2026-03-28 11:45:28 +02:00
parent 757eb8a8e5
commit d8bd26b51e
3 changed files with 42 additions and 1 deletions

View File

@@ -24,6 +24,31 @@ You need:
- your disks partitioned and mounted
- this repo _(`git@tangled.sh:kris.darkworld.download/nix`)_
## Build a custom installer ISO
This flake now exposes an installer image with extra install tools preloaded
(`git`, `disko`, partitioning and filesystem tools).
Build it from this repo:
```bash
nix build .#installerIso
```
The ISO is created at:
```text
./result/iso/*.iso
```
Write it to a USB stick (replace `/dev/sdX`):
```bash
sudo dd if=./result/iso/*.iso of=/dev/sdX bs=4M status=progress oflag=sync
```
Then boot from that USB and follow the install steps below.
## Disk Layout
This repo now uses `disko` for the default desktop host.

View File

@@ -1,5 +1,5 @@
{
description = "https://tangled.sh/@kris.darkworld.download/nix";
description = "Not a Deltarune reference!";
inputs = {
# Core
@@ -42,6 +42,20 @@
};
outputs = { self, nixpkgs, ... }@inputs: {
nixosConfigurations.installer = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
};
modules = [
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
./hosts/installer/configuration.nix
];
};
packages.x86_64-linux.installerIso =
self.nixosConfigurations.installer.config.system.build.isoImage;
nixosConfigurations.default = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;

View File

@@ -79,6 +79,8 @@ in {
# at this point just hire the goober project to take them down for you
'';
networking.hostName = "darkworld";
powerManagement.enable = true;
services.avahi = {