-
-
Save archseer/fda9eb9fa5db1f83a60b131c688c045e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
nixpkgs.url = "nixpkgs/nixpkgs-unstable"; | |
mobile-nixos.url = "github:archseer/mobile-nixos/flake"; | |
}; | |
description = "A very basic mobile config flake"; | |
outputs = inputs@{ self, nixpkgs, mobile-nixos, ... }: { | |
nixosConfigurations = { | |
pine = nixpkgs.lib.nixosSystem { | |
system = "x86_64-linux"; | |
specialArgs = { inherit mobile-nixos; }; | |
modules = [ | |
mobile-nixos.nixosModules.pine64-pinephone | |
]; | |
}; | |
}; | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
nixpkgs.url = "nixpkgs/nixpkgs-unstable"; | |
mobile-nixos.url = "github:archseer/mobile-nixos/flake"; | |
}; | |
description = "A very basic mobile config flake"; | |
outputs = inputs@{ self, nixpkgs, mobile-nixos, ... }: | |
let | |
pkgs = import nixpkgs { system = "x86_64-linux"; }; | |
in | |
{ | |
nixosConfigurations = { | |
pine = nixpkgs.lib.nixosSystem { | |
system = "x86_64-linux"; | |
specialArgs = { _mobile-nixos = { | |
evalConfig = args: | |
import "${toString pkgs.path}/nixos/lib/eval-config.nix" (args // { system = "x86_64-linux"; }); | |
}; }; | |
modules = [ | |
mobile-nixos.nixosModules.pine64-pinephone | |
]; | |
}; | |
}; | |
}; | |
} |
Author
archseer
commented
Jan 26, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment