mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Install flox from flake
This commit is contained in:
parent
072a6e34de
commit
e449b45e2b
3 changed files with 268 additions and 34 deletions
10
flake.nix
10
flake.nix
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue