mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-01-01 17:36:33 +01:00
clean up systems file
This commit is contained in:
parent
c0f8335963
commit
ad57c6345d
1 changed files with 16 additions and 45 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue