hosts: Infini-STICK -> hermes
This commit is contained in:
parent
ccbca3a6c9
commit
87c9ff22c6
4 changed files with 1 additions and 1 deletions
|
@ -1,28 +0,0 @@
|
|||
{ lib, ... }:
|
||||
with lib.our.disko;
|
||||
let
|
||||
inherit (lib) genAttrs flip;
|
||||
in
|
||||
{
|
||||
disko.devices = {
|
||||
nodev."/" = mkTmpfs "2G";
|
||||
disk.stick = mkDisk "some-usb-stick" {
|
||||
partitions = {
|
||||
boot = mkESP "64M" "/boot/efi";
|
||||
main = mkBtrfsPart "100%" "/media/main" {
|
||||
subvolumes = mkBtrfsSubvols {
|
||||
"/boot" = { };
|
||||
"/etc/ssh" = { };
|
||||
"/nix" = { };
|
||||
"/persist" = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems = flip genAttrs (_: { neededForBoot = true; }) [
|
||||
"/persist"
|
||||
"/etc/ssh"
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue