flake: add host x13yz, with nixosConfig abstraction

secrix-issue25
Felix Stupp 3 months ago
parent 536a0780b5
commit da9b9aa157
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -30,6 +30,31 @@
{ {
nixosConfigurations =
let
nixosSystem = { config, system }: inputs.nixpkgs.lib.nixosSystem {
modules = [
outputs.nixosModules.withDepends
config
];
inherit system;
};
in
{
"x13yz" = nixosSystem {
config = {
hardware.cpu.type = "intel";
hardware.graphics.amd.enable = true;
system.stateVersion = "24.05";
x-banananetwork.frontend.enable = true;
};
system = "x86_64-linux";
};
};
nixosModules = { nixosModules = {
# this one includes all of my modules # this one includes all of my modules

Loading…
Cancel
Save