Files
nixos/flake.nix
2025-11-03 14:12:26 +00:00

25 lines
528 B
Nix

{
description = "Impure NixOS flake for mobile02";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs }: let
stdenv.hostPlatform.system = "x86_64-linux"; # adjust if needed
system = stdenv.hostPlatform.system;
hardwareConfig = import /etc/nixos/hardware-configuration.nix;
in
{
nixosConfigurations.mobile02 = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
hardwareConfig
];
};
};
}