tami-nix-infra/hosts/tami-mac/default.nix

15 lines
429 B
Nix
Raw Normal View History

2023-05-15 21:47:22 +03:00
inputs:
2023-05-17 00:15:23 +03:00
let inherit (inputs.nixpkgs) lib; in
lib.nixosSystem {
2023-05-15 21:47:22 +03:00
system = "x86_64-linux";
specialArgs = { inherit inputs; };
2023-05-17 00:15:23 +03:00
modules = builtins.filter (x: lib.hasSuffix ".nix" x && baseNameOf x != "default.nix") (lib.filesystem.listFilesRecursive ./.) ++ [
inputs.disko.nixosModules.disko
2023-05-15 21:47:22 +03:00
"${inputs.self}/profiles/nix-nixpkgs.nix"
2023-05-15 23:44:20 +03:00
"${inputs.self}/profiles/ssh.nix"
2023-05-17 00:15:23 +03:00
{ system.stateVersion = "23.05"; }
2023-05-15 21:47:22 +03:00
];
}