2026-02-01 19:43:03 +02:00
|
|
|
{
|
|
|
|
|
description = "NixOS installation ISO with Lix";
|
|
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
2026-02-04 15:57:45 +02:00
|
|
|
disko = {
|
|
|
|
|
url = "github:nix-community/disko";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-02-03 09:52:52 +02:00
|
|
|
nix-index-database = {
|
|
|
|
|
url = "github:nix-community/nix-index-database";
|
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
|
};
|
2026-02-03 13:07:02 +02:00
|
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
2026-02-01 19:49:22 +02:00
|
|
|
lix-module.url = "git+https://git.lix.systems/lix-project/nixos-module?ref=release-2.93";
|
2026-02-01 19:43:03 +02:00
|
|
|
lix-module.inputs.nixpkgs.follows = "nixpkgs";
|
2026-02-01 20:12:00 +02:00
|
|
|
lanzaboote.url = "github:nix-community/lanzaboote";
|
|
|
|
|
lanzaboote.inputs.nixpkgs.follows = "nixpkgs";
|
2026-02-04 11:09:16 +02:00
|
|
|
flox.url = "github:flox/flox";
|
2026-02-01 19:43:03 +02:00
|
|
|
};
|
|
|
|
|
|
2026-02-04 11:09:16 +02:00
|
|
|
outputs =
|
|
|
|
|
inputs@{ self, nixpkgs, ... }:
|
2026-02-01 19:43:03 +02:00
|
|
|
let
|
|
|
|
|
lib = nixpkgs.lib;
|
2026-02-04 11:09:16 +02:00
|
|
|
in
|
|
|
|
|
{
|
2026-02-04 20:53:05 +02:00
|
|
|
nixosModules.nanuqsaurus = import ./modules/profile/nanuqsaurus.nix { inherit inputs; };
|
2026-02-05 09:05:10 +02:00
|
|
|
nixosModules.flox = import ./modules/development/flox.nix { inherit inputs; };
|
2026-02-04 20:53:05 +02:00
|
|
|
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
|
# Live installer ISO (used to bootstrap installs).
|
2026-02-04 11:09:16 +02:00
|
|
|
installer = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
|
modules = [ ./hosts/iso.nix ];
|
2026-02-01 22:06:30 +02:00
|
|
|
};
|
2026-02-04 20:53:05 +02:00
|
|
|
|
|
|
|
|
# Fresh-install profile that includes disko partitioning/layout.
|
|
|
|
|
nanuqsaurus-btrfs = nixpkgs.lib.nixosSystem {
|
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
|
modules = [ ./hosts/nanuqsaurus-btrfs.nix ];
|
|
|
|
|
};
|
2026-02-04 11:09:16 +02:00
|
|
|
};
|
2026-02-01 19:43:03 +02:00
|
|
|
|
2026-02-04 11:09:16 +02:00
|
|
|
packages.x86_64-linux.install-iso = self.nixosConfigurations.installer.config.system.build.isoImage;
|
2026-02-01 19:43:03 +02:00
|
|
|
packages.x86_64-linux.default = self.packages.x86_64-linux.install-iso;
|
|
|
|
|
};
|
|
|
|
|
}
|