aboutsummaryrefslogtreecommitdiff
path: root/flake/hosts.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-02-23 08:49:10 -0800
committerFranck Cuny <franck@fcuny.net>2024-03-04 08:36:45 -0800
commit0b7a643ec291d8bda1f91db3cc1e436d317e6e1e (patch)
treeb221fcf66319c87ff5173281e52e4b74ed1bba70 /flake/hosts.nix
parentchore: update flake (diff)
downloadinfra-0b7a643ec291d8bda1f91db3cc1e436d317e6e1e.tar.gz
nix libraries and modules will be under `nix/`
Diffstat (limited to 'flake/hosts.nix')
-rw-r--r--flake/hosts.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/flake/hosts.nix b/flake/hosts.nix
deleted file mode 100644
index 7fc0612..0000000
--- a/flake/hosts.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ inputs, ... }:
-let
- 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
- {
- nixpkgs.overlays = [
- firefox-darwin.overlay
- nur.overlay
- ];
- }
- ];
- specialArgs = { inherit inputs; };
- };
-in
-{
- flake = mkMerge [
- {
- darwinConfigurations = {
- mba-fcuny = mkDarwinConfig "aarch64-darwin" ../hosts/mba;
- };
- }
- ];
-}