a
This commit is contained in:
25
README.md
25
README.md
@@ -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.
|
||||
|
||||
16
flake.nix
16
flake.nix
@@ -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;
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user