Last active
February 27, 2022 14:01
-
-
Save azuwis/47a67c40f61afaa02362b79a0496afeb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "nodes": { | |
| "darwin": { | |
| "inputs": { | |
| "nixpkgs": [ | |
| "nixpkgs" | |
| ] | |
| }, | |
| "locked": { | |
| "lastModified": 1645293039, | |
| "narHash": "sha256-PwdDu+SkX8dreeuJ/4av1sEluNZdrpdXv8JsRKKg1Yc=", | |
| "owner": "lnl7", | |
| "repo": "nix-darwin", | |
| "rev": "1df878b6f8351795a3bebfbe4fd2d02e1e8b29d6", | |
| "type": "github" | |
| }, | |
| "original": { | |
| "owner": "lnl7", | |
| "ref": "master", | |
| "repo": "nix-darwin", | |
| "type": "github" | |
| } | |
| }, | |
| "flake-utils": { | |
| "locked": { | |
| "lastModified": 1638122382, | |
| "narHash": "sha256-sQzZzAbvKEqN9s0bzWuYmRaA03v40gaJ4+iL1LXjaeI=", | |
| "owner": "numtide", | |
| "repo": "flake-utils", | |
| "rev": "74f7e4319258e287b0f9cb95426c9853b282730b", | |
| "type": "github" | |
| }, | |
| "original": { | |
| "owner": "numtide", | |
| "repo": "flake-utils", | |
| "type": "github" | |
| } | |
| }, | |
| "nixpkgs": { | |
| "locked": { | |
| "lastModified": 1645866791, | |
| "narHash": "sha256-okyN8nAb0gFfF2rjjJnMiIuOM+nZXxZ9Wc2PyoYYKWo=", | |
| "owner": "nixos", | |
| "repo": "nixpkgs", | |
| "rev": "607178a179d6943cb64970882511c24b2a983c2b", | |
| "type": "github" | |
| }, | |
| "original": { | |
| "owner": "nixos", | |
| "ref": "nixpkgs-unstable", | |
| "repo": "nixpkgs", | |
| "type": "github" | |
| } | |
| }, | |
| "root": { | |
| "inputs": { | |
| "darwin": "darwin", | |
| "nixpkgs": "nixpkgs", | |
| "utils": "utils" | |
| } | |
| }, | |
| "utils": { | |
| "inputs": { | |
| "flake-utils": "flake-utils" | |
| }, | |
| "locked": { | |
| "lastModified": 1638172912, | |
| "narHash": "sha256-jxhQGNEsZTdop/Br3JPS+xmBf6t9cIWRzVZFxbT76Rw=", | |
| "owner": "gytis-ivaskevicius", | |
| "repo": "flake-utils-plus", | |
| "rev": "166d6ebd9f0de03afc98060ac92cba9c71cfe550", | |
| "type": "github" | |
| }, | |
| "original": { | |
| "owner": "gytis-ivaskevicius", | |
| "ref": "v1.3.1", | |
| "repo": "flake-utils-plus", | |
| "type": "github" | |
| } | |
| } | |
| }, | |
| "root": "root", | |
| "version": 7 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| description = "Darwin demo"; | |
| inputs = { | |
| nixpkgs.url = github:nixos/nixpkgs/nixpkgs-unstable; | |
| utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.3.1"; | |
| darwin.url = "github:lnl7/nix-darwin/master"; | |
| darwin.inputs.nixpkgs.follows = "nixpkgs"; | |
| }; | |
| outputs = inputs@{ self, nixpkgs, utils, darwin, ... }: | |
| utils.lib.mkFlake { | |
| inherit self inputs; | |
| hosts.demo.system = "aarch64-darwin"; | |
| hosts.demo.output = "darwinConfigurations"; | |
| hosts.demo.builder = args: darwin.lib.darwinSystem (removeAttrs args [ "system" ]); | |
| }; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment