Try out compose2nix

This commit is contained in:
Gene Liverman 2024-04-11 17:27:15 -04:00
parent 0aeec8ebe7
commit cb6b77b813
3 changed files with 31 additions and 3 deletions

View file

@ -42,6 +42,12 @@
# inputs.nixpkgs.follows ="nixpkgs";
};
compose2nix = {
url = "github:aksiksi/compose2nix";
inputs.nixpkgs.follows ="nixpkgs";
};
# My oh-my-posh theme
genebean-omp-themes = {
url = "github:genebean/my-oh-my-posh-themes";
@ -49,7 +55,7 @@
};
}; # end inputs
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nix-darwin, home-manager, nix-homebrew, nix-flatpak, disko, sops-nix, flox-flake, genebean-omp-themes, ... }: let
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, nix-darwin, home-manager, nix-homebrew, nix-flatpak, disko, sops-nix, compose2nix, flox-flake, genebean-omp-themes, ... }: let
# creates a macOS system config
darwinHostConfig = system: hostname: username: nix-darwin.lib.darwinSystem {
@ -89,7 +95,7 @@
# creates a nixos system config
nixosHostConfig = system: hostname: username: nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs username hostname flox-flake;
specialArgs = { inherit inputs username hostname compose2nix flox-flake;
pkgs = import nixpkgs {
inherit system;
config = {