Add disko as a flake input (following nixpkgs) and wire its NixOS module into the host-builder, so any Host can declare a disk layout while the layout itself stays a per-Host concern. neogaia's layout (hosts/neogaia/disk.nix): one GPT NVMe disk with a systemd-boot EFI system partition and a LUKS container holding btrfs with @root/@home/@nix subvolumes. The initrd prompts for the passphrase on a normal boot. Swap is RAM-backed zram, so there is no on-disk swap partition; zramSwap is enabled directly for now. The placeholder fileSystems are removed since disko now derives them.
177 lines
4.7 KiB
JSON
177 lines
4.7 KiB
JSON
{
|
|
"nodes": {
|
|
"chaotic": {
|
|
"inputs": {
|
|
"flake-schemas": "flake-schemas",
|
|
"home-manager": "home-manager",
|
|
"nixpkgs": "nixpkgs"
|
|
},
|
|
"locked": {
|
|
"lastModified": 1784318604,
|
|
"narHash": "sha256-P/N5ZbGWITiTfmiWpE/1uyXdOCagpgw/YAZLZJSzx/I=",
|
|
"owner": "chaotic-cx",
|
|
"repo": "nyx",
|
|
"rev": "21a8ef816f34558a438d778057a8809322ea2415",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "chaotic-cx",
|
|
"ref": "nyxpkgs-unstable",
|
|
"repo": "nyx",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"disko": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1781152676,
|
|
"narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=",
|
|
"owner": "nix-community",
|
|
"repo": "disko",
|
|
"rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "disko",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"flake-schemas": {
|
|
"locked": {
|
|
"lastModified": 1780327564,
|
|
"narHash": "sha256-HiRPtA0spK+Dkgbhz/1zW9glXxNVB+L4Rj2VYmdawb8=",
|
|
"rev": "6cc9bd98891b1fc6bb2b8cb3277df8bc72799ca6",
|
|
"revCount": 149,
|
|
"type": "tarball",
|
|
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.5.0/019e83cf-9af3-78b1-ac5b-70e68ad1efe1/source.tar.gz"
|
|
},
|
|
"original": {
|
|
"type": "tarball",
|
|
"url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/%3D0.5.0.tar.gz"
|
|
}
|
|
},
|
|
"home-manager": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"chaotic",
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1784129366,
|
|
"narHash": "sha256-N5JiyICSeQF14x+OQebNyPpYowOT9Rs1iKyeCylSzOA=",
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"rev": "165228b0efefc3e635e5174020c40ea64271dc25",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"home-manager_2": {
|
|
"inputs": {
|
|
"nixpkgs": [
|
|
"nixpkgs"
|
|
]
|
|
},
|
|
"locked": {
|
|
"lastModified": 1784351324,
|
|
"narHash": "sha256-By+kuRJZRqs2TuXgtR8vJ8cTKWXw33YG/Yollu5cO1U=",
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"rev": "460108009ca1ff69ca2ff19079ca2c838d6e3080",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nix-community",
|
|
"repo": "home-manager",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs": {
|
|
"locked": {
|
|
"lastModified": 1784120854,
|
|
"narHash": "sha256-KesHgItiZPgGX740axSiQLcIQ8D24MDqNpkKYWIek8k=",
|
|
"owner": "NixOS",
|
|
"repo": "nixpkgs",
|
|
"rev": "753cc8a3a87467296ddd1fa93f0cc3e81120ee46",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "NixOS",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs-stable": {
|
|
"locked": {
|
|
"lastModified": 1784280462,
|
|
"narHash": "sha256-DtoqIqM7VkR6NxAkcLpMwmi02USwWb3JdmNGLyhthc0=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "293d6abedf0478e681a4dfcfcb35b30fc796a32f",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixos-26.05",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs-unstable": {
|
|
"locked": {
|
|
"lastModified": 1784347607,
|
|
"narHash": "sha256-VI5cdo27nEZ3m1SlgB8RvBbrqFUO2/dUgrrLWe407oA=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "31cd72fdba8fa052e437ce7e6879c4fe62def10f",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixpkgs-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"nixpkgs_2": {
|
|
"locked": {
|
|
"lastModified": 1784120854,
|
|
"narHash": "sha256-KesHgItiZPgGX740axSiQLcIQ8D24MDqNpkKYWIek8k=",
|
|
"owner": "nixos",
|
|
"repo": "nixpkgs",
|
|
"rev": "753cc8a3a87467296ddd1fa93f0cc3e81120ee46",
|
|
"type": "github"
|
|
},
|
|
"original": {
|
|
"owner": "nixos",
|
|
"ref": "nixos-unstable",
|
|
"repo": "nixpkgs",
|
|
"type": "github"
|
|
}
|
|
},
|
|
"root": {
|
|
"inputs": {
|
|
"chaotic": "chaotic",
|
|
"disko": "disko",
|
|
"home-manager": "home-manager_2",
|
|
"nixpkgs": "nixpkgs_2",
|
|
"nixpkgs-stable": "nixpkgs-stable",
|
|
"nixpkgs-unstable": "nixpkgs-unstable"
|
|
}
|
|
}
|
|
},
|
|
"root": "root",
|
|
"version": 7
|
|
}
|