37 lines
896 B
Nix
37 lines
896 B
Nix
{
|
|
description = "Impure NixOS flake for mobile02";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
elephant.url = "github:abenz1267/elephant";
|
|
chataigne.url = "./chataigne";
|
|
way-edges.url = "github:way-edges/way-edges";
|
|
|
|
walker = {
|
|
url = "github:abenz1267/walker";
|
|
inputs.elephant.follows = "elephant";
|
|
};
|
|
};
|
|
|
|
outputs = { self, chataigne, nixpkgs, ... }@inputs: 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;
|
|
specialArgs = {inherit inputs;};
|
|
|
|
modules = [
|
|
./configuration.nix
|
|
hardwareConfig
|
|
{
|
|
nixpkgs.config.allowUnfree = true;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|