0ad 0.0.24

This commit is contained in:
Charlotte Van Petegem 2021-02-24 18:06:32 +01:00
parent 54b7e7f371
commit b5ee907e15
No known key found for this signature in database
GPG key ID: 019E764B7184435A
3 changed files with 23 additions and 8 deletions

View file

@ -8,9 +8,10 @@
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs.url = "github:charvp/nixpkgs/master";
nixpkgsFor0AD.url = "github:charvp/nixpkgs/0ad0.24";
};
outputs = { self, nixpkgs, home-manager, flake-utils }:
outputs = { self, nixpkgs, nixpkgsFor0AD, home-manager, flake-utils }:
let
version-suffix = nixpkgs.rev or (builtins.toString nixpkgs.lastModified);
pkgsFor = system: import nixpkgs {
@ -18,6 +19,7 @@
};
mkSystem = system: hostname: nixpkgs.lib.nixosSystem {
inherit system;
extraArgs = { pkgsFor0AD = import nixpkgsFor0AD { inherit system; }; };
modules = [
home-manager.nixosModules.home-manager
(./modules)