27 lines
842 B
Nix
27 lines
842 B
Nix
{
|
|
inputs = {
|
|
# NOTE: Replace "nixos-23.11" with that which is in system.stateVersion of
|
|
# configuration.nix. You can also use latter versions if you wish to
|
|
# upgrade.
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05";
|
|
};
|
|
outputs = inputs@{ self, nixpkgs, ... }: {
|
|
# NOTE: 'nixos' is the default hostname set by the installer
|
|
nixosConfigurations.marcille = nixpkgs.lib.nixosSystem {
|
|
# NOTE: Change this to aarch64-linux if you are on ARM
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
};
|
|
nixosConfigurations.live = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
(nixpkgs + "/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
|
./configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|