Install flox from flake

This commit is contained in:
Gene Liverman 2024-03-20 08:31:59 -04:00
parent 072a6e34de
commit e449b45e2b
3 changed files with 268 additions and 34 deletions

View file

@ -36,6 +36,12 @@
inputs.nixpkgs.follows ="nixpkgs";
};
flox-flake = {
url = "github:flox/flox";
# Setting the line below seems to break things... :(
# inputs.nixpkgs.follows ="nixpkgs";
};
# My oh-my-posh theme
genebean-omp-themes = {
url = "github:genebean/my-oh-my-posh-themes";
@ -43,7 +49,7 @@
};
}; # end inputs
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nix-darwin, home-manager, nix-homebrew, nix-flatpak, disko, sops-nix, genebean-omp-themes, ... }: let
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nix-darwin, home-manager, nix-homebrew, nix-flatpak, disko, sops-nix, flox-flake, genebean-omp-themes, ... }: let
# creates a macOS system config
darwinHostConfig = system: hostname: username: nix-darwin.lib.darwinSystem {
@ -54,7 +60,7 @@
permittedInsecurePackages = [ "python-2.7.18.7" ];
};
};
specialArgs = { inherit inputs username hostname; };
specialArgs = { inherit inputs username hostname flox-flake; };
modules = [
nix-homebrew.darwinModules.nix-homebrew {
nix-homebrew = {