The caller defines the system.
This commit is contained in:
parent
504f413c02
commit
dbe192d11e
1 changed files with 2 additions and 2 deletions
|
|
@ -7,13 +7,13 @@
|
|||
|
||||
outputs = { self, nixpkgs, flake-utils }: {
|
||||
serviceConfig = self.lib.makeServiceConfig {
|
||||
system = flake-utils.lib.system.x86_64-linux;
|
||||
module = { imports = [ ./modules ]; };
|
||||
};
|
||||
|
||||
lib = {
|
||||
makeServiceConfig = { module }:
|
||||
makeServiceConfig = { system, module }:
|
||||
let
|
||||
system = flake-utils.lib.system.x86_64-linux;
|
||||
lib = nixpkgs.lib;
|
||||
nixosConfig = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue