clean up systems file

This commit is contained in:
Johannes Jöns 2024-01-13 17:37:47 +01:00
parent c0f8335963
commit ad57c6345d

View file

@ -1,49 +1,20 @@
{ self, nixpkgs, inputs }: { self, nixpkgs, inputs }:
let
mkSystem = system: name: nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = inputs;
modules = [
name
self.outputs.nixosModules.default
];
};
in
{ {
kami = nixpkgs.lib.nixosSystem { kami = mkSystem "x86_64-linux" ./kami;
system = "x86_64-linux"; yokai = mkSystem "aarch64-linux" ./yokai;
specialArgs = inputs; inugami = mkSystem "aarch64-linux" ./inugami;
modules = [ tuny = mkSystem "x86_64-linux" ./tuny;
./kami installer = mkSystem "x86_64-linux" ./installer;
self.outputs.nixosModules.default steamdeck = mkSystem "x86_64-linux" ./steamdeck;
];
};
yokai = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = inputs;
modules = [
./yokai
self.outputs.nixosModules.default
];
};
inugami = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = inputs;
modules = [
./inugami
self.outputs.nixosModules.default
];
};
tuny = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./tuny
self.outputs.nixosModules.default
];
};
installer = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./installer
self.outputs.nixosModules.default
];
};
steamdeck = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [ ./steamdeck self.outputs.nixosModules.default ];
};
} }