This commit is contained in:
Chaos 2022-11-02 09:05:24 +00:00
parent 02afe710ac
commit d36f29c748
No known key found for this signature in database
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,15 @@
{ 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
];
services.openssh.permitRootLogin = lib.mkForce "yes";
}

View file

@ -54,6 +54,13 @@ in {
];
};
# nix build .#nixosConfigurations.nixos-live-x86_64.config.system.build.isoImage
nixos-live-x86_64 = nixosUnstableSystem {
specialArgs = defaultSpecialArgs;
system = "x86_64-linux";
modules = defaultModules ++ [ ./nixos-live/nixos-live.nix ];
};
# nix --no-sandbox build .#nixosConfigurations.raspberry.config.system.build.sdImage
raspberry = nixosUnstableSystem {
specialArgs = defaultSpecialArgs;