Live : Update installation.
This commit is contained in:
parent
eaa1ad0325
commit
6861e991e1
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
];
|
||||
};
|
||||
|
|
Reference in a new issue