tami-nix-infra/hosts/tami-mac/default.nix
2023-05-17 00:15:23 +03:00

15 lines
429 B
Nix

inputs:
let inherit (inputs.nixpkgs) lib; in
lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = builtins.filter (x: lib.hasSuffix ".nix" x && baseNameOf x != "default.nix") (lib.filesystem.listFilesRecursive ./.) ++ [
inputs.disko.nixosModules.disko
"${inputs.self}/profiles/nix-nixpkgs.nix"
"${inputs.self}/profiles/ssh.nix"
{ system.stateVersion = "23.05"; }
];
}