returned to same error as before attempting impermanence

This commit is contained in:
2025-04-27 15:20:27 -05:00
parent 118186e48c
commit 52429b2544
3 changed files with 16 additions and 12 deletions
+1
View File
@@ -99,6 +99,7 @@ in
};
networking.hostName = meta.hostname;
networking.hostId = meta.hostId;
networking.interfaces.eth0.ipv4.addresses = [
{
+5 -8
View File
@@ -1,23 +1,21 @@
{ disks ? [ "/dev/nvme0n1" ], ... }:
{
disko.devices = {
disk = {
x = {
device = builtins.elemAt disks 0;
device = "/dev/nvme0n1";
type = "disk";
content = {
type = "table";
format = "gpt";
type = "gpt";
partitions = {
# boot
ESP = {
start = "1MiB";
end = "500MiB";
bootable = true;
size = "64M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
mountOptions = [ "umask=0077" ];
};
};
# root
@@ -35,7 +33,6 @@
zpool = {
zroot = {
type = "zpool";
mode = "mirror";
options.cachefile = "none";
rootFsOptions = {
compression = "zstd";
+10 -4
View File
@@ -22,14 +22,20 @@
outputs = { self, nixpkgs, nixvim, home-manager, disko, sops-nix, quasiSecrets }@inputs:
let
nodes = [
"nixos-homelab-00"
{
name = "nixos-homelab-00";
hostId = "3884D2F1";
}
];
in {
nixosConfigurations = builtins.listToAttrs (map (name: {
name = name;
nixosConfigurations = builtins.listToAttrs (map (node: {
name = node.name;
value = nixpkgs.lib.nixosSystem {
specialArgs = {
meta = { hostname = name; };
meta = {
hostname = node.name;
hostId = node.hostId;
};
};
system = "x86_64-linux";
modules = [