diff options
Diffstat (limited to '')
| -rw-r--r-- | flake.lock | 37 | ||||
| -rw-r--r-- | flake.nix | 7 | ||||
| -rw-r--r-- | flake/hosts.nix | 13 |
3 files changed, 55 insertions, 2 deletions
@@ -39,6 +39,26 @@ "type": "github" } }, + "firefox-darwin": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1706834474, + "narHash": "sha256-C5jaUZAx9Y04LwLdMk8QqA6Qw4Oe8MugPajjxJxInvs=", + "owner": "bandithedoge", + "repo": "nixpkgs-firefox-darwin", + "rev": "61c35a7992e8a540571ae21459f1c6b1c084a773", + "type": "github" + }, + "original": { + "owner": "bandithedoge", + "repo": "nixpkgs-firefox-darwin", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -235,6 +255,21 @@ "type": "github" } }, + "nur": { + "locked": { + "lastModified": 1706841886, + "narHash": "sha256-gT98Myel/I4COZqwaYKs8HiaPYmPdL0i6uKsIJyCBpA=", + "owner": "nix-community", + "repo": "NUR", + "rev": "55de3834d91a4fe68ba2b54253827546d20de133", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NUR", + "type": "github" + } + }, "pre-commit-hooks": { "inputs": { "flake-compat": "flake-compat", @@ -263,10 +298,12 @@ "inputs": { "darwin": "darwin", "devshell": "devshell", + "firefox-darwin": "firefox-darwin", "flake-parts": "flake-parts", "futils": "futils", "home-manager": "home-manager", "nixpkgs": "nixpkgs_2", + "nur": "nur", "pre-commit-hooks": "pre-commit-hooks", "treefmt-nix": "treefmt-nix" } @@ -19,6 +19,13 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + firefox-darwin = { + url = "github:bandithedoge/nixpkgs-firefox-darwin"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + nur = { url = "github:nix-community/NUR"; }; + pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/flake/hosts.nix b/flake/hosts.nix index 9ec9d1b..7fc0612 100644 --- a/flake/hosts.nix +++ b/flake/hosts.nix @@ -1,12 +1,21 @@ { inputs, ... }: let - inherit (inputs) nixpkgs darwin home-manager; + inherit (inputs) nixpkgs darwin home-manager firefox-darwin nur; inherit (nixpkgs.lib) mkMerge; mkDarwinConfig = system: path: darwin.lib.darwinSystem { inherit system; - modules = [ home-manager.darwinModule path ]; + modules = [ + home-manager.darwinModule + path + { + nixpkgs.overlays = [ + firefox-darwin.overlay + nur.overlay + ]; + } + ]; specialArgs = { inherit inputs; }; }; in |
