aboutsummaryrefslogtreecommitdiff
path: root/flake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.lock37
-rw-r--r--flake.nix7
-rw-r--r--flake/hosts.nix13
3 files changed, 55 insertions, 2 deletions
diff --git a/flake.lock b/flake.lock
index 3577c7c..a41d989 100644
--- a/flake.lock
+++ b/flake.lock
@@ -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"
}
diff --git a/flake.nix b/flake.nix
index 93df93c..321b657 100644
--- a/flake.nix
+++ b/flake.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