Live : Update installation.

This commit is contained in:
Dmitry Voronin 2024-02-20 20:00:46 +03:00
parent eaa1ad0325
commit 6861e991e1
2 changed files with 2 additions and 7 deletions

View file

@ -69,7 +69,7 @@ alias tmpshell="nix_tmpshell"
# Build live image.
function nix_live() {
nix build "${_nix_system_config}#installer.iso"
nix build "${_nix_system_config}#nixosConfigurations.live.config.system.build.isoImage"
}
# Autocomplete with available hosts.

View file

@ -27,12 +27,6 @@
./module/common/Users.nix
];
# Live system.
installer = installer-gen.generate {
inputFlake = self;
targetConfig = nixosConfigurations.live;
};
# Function to create a host.
mkHost = { system, hostname, modules }: nixpkgs.lib.nixosSystem {
inherit system;
@ -117,6 +111,7 @@
hostname = "live";
system = "x86_64-linux";
modules = [
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
./module/Gnome.nix
];
};