diff --git a/flake.nix b/flake.nix index 33b4f83..e75e133 100644 --- a/flake.nix +++ b/flake.nix @@ -2,21 +2,30 @@ description = "Nixos config flake"; inputs = { + # base packages nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + # encrypt files that contain secreats that I would like to not encrypt sops-nix.url = "github:Mic92/sops-nix"; + # managment per user home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; + # repo of hardware configs for prebuilt systems nixos-hardware.url = "github:NixOS/nixos-hardware/master"; }; outputs = { self, nixpkgs, nixos-hardware, ... }@inputs: let - forEachSystem = nixpkgs.lib.genAttrs [ "x86_64-linux" ]; + forEachSystem = nixpkgs.lib.genAttrs [ + "aarch64-darwin" + "aarch64-linux" + "x86_64-darwin" + "x86_64-linux" + ]; forEachPkgs = lambda: forEachSystem (system: lambda nixpkgs.legacyPackages.${system}); in {