Enable flakes in kexec image and comma integration
All checks were successful
Check Flake / check-flake (push) Successful in 20m21s
All checks were successful
Check Flake / check-flake (push) Successful in 20m21s
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user