mirror of
https://github.com/ryanccn/flake.git
synced 2026-01-27 04:06:28 +01:00
feat: add fork-cleaner
This commit is contained in:
parent
4b88989b5e
commit
ca991354a8
3 changed files with 32 additions and 5 deletions
12
flake.nix
12
flake.nix
|
|
@ -38,6 +38,11 @@
|
|||
inputs.flake-compat.follows = "flake-compat";
|
||||
};
|
||||
|
||||
caarlos0 = {
|
||||
url = "github:caarlos0/nur";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
flake-compat = {
|
||||
url = "github:edolstra/flake-compat";
|
||||
flake = false;
|
||||
|
|
@ -46,19 +51,18 @@
|
|||
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
nix-darwin,
|
||||
home-manager,
|
||||
agenix,
|
||||
fenix,
|
||||
attic,
|
||||
catppuccin,
|
||||
caarlos0,
|
||||
...
|
||||
}: let
|
||||
configuration = {pkgs, ...}:
|
||||
import ./system.nix {
|
||||
inherit (inputs) agenix fenix attic catppuccin;
|
||||
inherit pkgs;
|
||||
};
|
||||
import ./system.nix (nixpkgs.lib.recursiveUpdate inputs {inherit pkgs;});
|
||||
in {
|
||||
darwinConfigurations.Ryans-MacBook-Pro = nix-darwin.lib.darwinSystem {
|
||||
modules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue