beep
This commit is contained in:
parent
02afe710ac
commit
d36f29c748
15
hosts/nixos-live/nixos-live.nix
Normal file
15
hosts/nixos-live/nixos-live.nix
Normal 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";
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue