mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Try out compose2nix
This commit is contained in:
parent
0aeec8ebe7
commit
cb6b77b813
3 changed files with 31 additions and 3 deletions
10
flake.nix
10
flake.nix
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue