2025-01-29 16:12:31 -05:00
|
|
|
{
|
|
|
|
description = "Media-Box-NixOS-config";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-24.11";
|
2025-01-30 13:44:42 -05:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
2025-01-29 16:12:31 -05:00
|
|
|
};
|
|
|
|
|
2025-01-30 14:24:55 -05:00
|
|
|
outputs = { self, nixpkgs, nixos-hardware, ... }:
|
2025-01-29 16:12:31 -05:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
|
|
|
lib = nixpkgs.lib;
|
|
|
|
in {
|
|
|
|
|
|
|
|
nixosConfigurations = {
|
2025-01-30 13:44:42 -05:00
|
|
|
media-server = lib.nixosSystem {
|
2025-01-29 16:12:31 -05:00
|
|
|
inherit system;
|
|
|
|
modules = [
|
|
|
|
# add your model from this list: https://github.com/NixOS/nixos-hardware/blob/master/flake.nix
|
2025-01-30 15:00:58 -05:00
|
|
|
#nixos-hardware.nixosModules.apple-macmini-4-1
|
2025-01-29 16:12:31 -05:00
|
|
|
./configuration.nix
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|