Enable flakes in kexec image and comma integration
All checks were successful
Check Flake / check-flake (push) Successful in 20m21s

This commit is contained in:
2026-01-24 15:02:42 -08:00
parent e42e30d3cc
commit 2810ba1412
2 changed files with 11 additions and 2 deletions

View File

@@ -145,11 +145,15 @@
machineHosts; machineHosts;
packages = packages =
with inputs;
let let
mkEphemeral = system: format: inputs.nixos-generators.nixosGenerate { mkEphemeral = system: format: nixos-generators.nixosGenerate {
inherit system; inherit system;
inherit format; inherit format;
modules = [ ./machines/ephemeral/minimal.nix ]; modules = [
./machines/ephemeral/minimal.nix
nix-index-database.nixosModules.default
];
}; };
in in
{ {

View File

@@ -5,6 +5,8 @@
(modulesPath + "/installer/cd-dvd/channel.nix") (modulesPath + "/installer/cd-dvd/channel.nix")
../../common/machine-info ../../common/machine-info
../../common/ssh.nix ../../common/ssh.nix
../../common/flakes.nix
../../common/shell.nix
]; ];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
@@ -36,6 +38,7 @@
git-lfs git-lfs
wget wget
htop htop
btop
dnsutils dnsutils
pciutils pciutils
usbutils usbutils
@@ -54,5 +57,7 @@
}; };
}; };
nix.flakes.enable = true;
users.users.root.openssh.authorizedKeys.keys = config.machines.ssh.userKeys; users.users.root.openssh.authorizedKeys.keys = config.machines.ssh.userKeys;
} }