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 }:
let
mkSystem = system: name: nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = inputs;
modules = [
name
self.outputs.nixosModules.default
];
};
in
{
kami = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./kami
self.outputs.nixosModules.default
];
};
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 ];
};
kami = mkSystem "x86_64-linux" ./kami;
yokai = mkSystem "aarch64-linux" ./yokai;
inugami = mkSystem "aarch64-linux" ./inugami;
tuny = mkSystem "x86_64-linux" ./tuny;
installer = mkSystem "x86_64-linux" ./installer;
steamdeck = mkSystem "x86_64-linux" ./steamdeck;
}