nixfiles/hosts/nixos-live/nixos-live.nix

20 lines
514 B
Nix
Raw Normal View History

2022-11-02 09:05:24 +00:00
{ config, tree, modulesPath, pkgs, lib, ... }: {
imports = [
# (modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
(modulesPath + "/installer/cd-dvd/channel.nix")
tree.users.root
tree.profiles.base
tree.profiles.sshd
];
config.isoImage = {
isoBaseName = "nixos-chaos";
compressImage = false;
squashfsCompression = "zstd -Xcompression-level 1";
};
2022-11-10 11:25:33 +00:00
config.services.openssh.permitRootLogin = lib.mkForce "yes";
2022-11-02 09:05:24 +00:00
}