diff --git a/flake.lock b/flake.lock index 79705da3..ce84b96d 100644 --- a/flake.lock +++ b/flake.lock @@ -510,7 +510,7 @@ "crane_5": { "inputs": { "flake-compat": "flake-compat_6", - "flake-utils": "flake-utils_9", + "flake-utils": "flake-utils_10", "nixpkgs": [ "music-player", "nixpkgs" @@ -1191,11 +1191,11 @@ "systems": "systems_15" }, "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "lastModified": 1685518550, + "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", "owner": "numtide", "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", "type": "github" }, "original": { @@ -1223,6 +1223,24 @@ } }, "flake-utils_13": { + "inputs": { + "systems": "systems_17" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_14": { "inputs": { "systems": [ "nixpkgs-xr", @@ -1243,27 +1261,9 @@ "type": "github" } }, - "flake-utils_14": { - "inputs": { - "systems": "systems_18" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "flake-utils_15": { "inputs": { - "systems": "systems_20" + "systems": "systems_19" }, "locked": { "lastModified": 1731533236, @@ -1280,12 +1280,15 @@ } }, "flake-utils_16": { + "inputs": { + "systems": "systems_21" + }, "locked": { - "lastModified": 1644229661, - "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -1310,15 +1313,12 @@ } }, "flake-utils_18": { - "inputs": { - "systems": "systems_24" - }, "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "lastModified": 1644229661, + "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", "owner": "numtide", "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", "type": "github" }, "original": { @@ -1332,11 +1332,11 @@ "systems": "systems_25" }, "locked": { - "lastModified": 1726560853, - "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -1367,6 +1367,24 @@ "inputs": { "systems": "systems_26" }, + "locked": { + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_21": { + "inputs": { + "systems": "systems_27" + }, "locked": { "lastModified": 1731533236, "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", @@ -1455,7 +1473,7 @@ }, "flake-utils_7": { "inputs": { - "systems": "systems_11" + "systems": "systems_9" }, "locked": { "lastModified": 1731533236, @@ -1494,11 +1512,11 @@ "systems": "systems_13" }, "locked": { - "lastModified": 1685518550, - "narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -1657,6 +1675,24 @@ "type": "github" } }, + "handoff": { + "inputs": { + "flake-utils": "flake-utils_7", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1763393243, + "narHash": "sha256-gJ76u+dVxYNn1EH1wG1saQD3CGHGSTR019GHMmaHkQU=", + "path": "/home/servius/Projects/handoff", + "type": "path" + }, + "original": { + "path": "/home/servius/Projects/handoff", + "type": "path" + } + }, "haskell-flake": { "locked": { "lastModified": 1675296942, @@ -1836,7 +1872,7 @@ "nixpkgs" ], "pre-commit-hooks": "pre-commit-hooks", - "systems": "systems_9", + "systems": "systems_10", "xdph": "xdph" }, "locked": { @@ -1991,7 +2027,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_10" + "systems": "systems_11" }, "locked": { "lastModified": 1761675634, @@ -2009,7 +2045,7 @@ }, "hyprmonitors": { "inputs": { - "flake-utils": "flake-utils_7", + "flake-utils": "flake-utils_8", "nixpkgs": [ "nixpkgs" ], @@ -2297,7 +2333,7 @@ }, "lfca": { "inputs": { - "flake-utils": "flake-utils_8", + "flake-utils": "flake-utils_9", "nixpkgs": [ "nixpkgs" ] @@ -2343,7 +2379,7 @@ "advisory-db": "advisory-db_4", "crane": "crane_5", "fenix": "fenix_2", - "flake-utils": "flake-utils_10", + "flake-utils": "flake-utils_11", "nixpkgs": [ "nixpkgs" ] @@ -2471,7 +2507,7 @@ }, "nix-auth": { "inputs": { - "flake-utils": "flake-utils_11", + "flake-utils": "flake-utils_12", "nixpkgs": [ "nixpkgs" ] @@ -2636,7 +2672,7 @@ "nix-minecraft": { "inputs": { "flake-compat": "flake-compat_7", - "flake-utils": "flake-utils_12", + "flake-utils": "flake-utils_13", "nixpkgs": "nixpkgs_6" }, "locked": { @@ -2805,11 +2841,11 @@ "nixpkgs-xr": { "inputs": { "flake-compat": "flake-compat_8", - "flake-utils": "flake-utils_13", + "flake-utils": "flake-utils_14", "nixpkgs": [ "nixpkgs" ], - "systems": "systems_17", + "systems": "systems_18", "treefmt-nix": "treefmt-nix" }, "locked": { @@ -2987,7 +3023,7 @@ "nixpkgs" ], "nuschtosSearch": "nuschtosSearch", - "systems": "systems_19" + "systems": "systems_20" }, "locked": { "lastModified": 1763109970, @@ -3005,7 +3041,7 @@ }, "nno": { "inputs": { - "flake-utils": "flake-utils_15", + "flake-utils": "flake-utils_16", "neorg": "neorg", "neorg-telescope": "neorg-telescope", "nixpkgs": [ @@ -3031,7 +3067,7 @@ "norg": { "inputs": { "flake-compat": "flake-compat_9", - "flake-utils": "flake-utils_16", + "flake-utils": "flake-utils_17", "nixpkgs": "nixpkgs_9" }, "locked": { @@ -3052,7 +3088,7 @@ "norg-meta": { "inputs": { "flake-compat": "flake-compat_10", - "flake-utils": "flake-utils_17", + "flake-utils": "flake-utils_18", "nixpkgs": "nixpkgs_10" }, "locked": { @@ -3141,7 +3177,7 @@ }, "nuschtosSearch": { "inputs": { - "flake-utils": "flake-utils_14", + "flake-utils": "flake-utils_15", "ixx": "ixx", "nixpkgs": [ "nixvim", @@ -3167,7 +3203,7 @@ "nixpkgs": [ "nixpkgs" ], - "systems": "systems_21" + "systems": "systems_22" }, "locked": { "lastModified": 1756860511, @@ -3296,6 +3332,7 @@ "flake-utils": "flake-utils_5", "ghostty": "ghostty", "guihua": "guihua", + "handoff": "handoff", "home-manager": "home-manager", "home-manager-stable": "home-manager-stable", "hyprland": "hyprland", @@ -3627,7 +3664,7 @@ "nixpkgs" ], "nur": "nur_2", - "systems": "systems_22", + "systems": "systems_23", "tinted-foot": "tinted-foot", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", @@ -3661,7 +3698,7 @@ "nixpkgs-stable" ], "nur": "nur_3", - "systems": "systems_23", + "systems": "systems_24", "tinted-foot": "tinted-foot_2", "tinted-kitty": "tinted-kitty_2", "tinted-schemes": "tinted-schemes_2", @@ -3715,16 +3752,16 @@ }, "systems_11": { "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", "type": "github" }, "original": { "owner": "nix-systems", - "repo": "default", + "repo": "default-linux", "type": "github" } }, @@ -3804,21 +3841,6 @@ } }, "systems_17": { - "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", - "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default-linux", - "type": "github" - } - }, - "systems_18": { "locked": { "lastModified": 1681028828, "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", @@ -3833,6 +3855,21 @@ "type": "github" } }, + "systems_18": { + "locked": { + "lastModified": 1689347949, + "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "owner": "nix-systems", + "repo": "default-linux", + "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default-linux", + "type": "github" + } + }, "systems_19": { "locked": { "lastModified": 1681028828, @@ -3968,6 +4005,21 @@ "type": "github" } }, + "systems_27": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "systems_3": { "locked": { "lastModified": 1681028828, @@ -4060,16 +4112,16 @@ }, "systems_9": { "locked": { - "lastModified": 1689347949, - "narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=", + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", "owner": "nix-systems", - "repo": "default-linux", - "rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", "type": "github" }, "original": { "owner": "nix-systems", - "repo": "default-linux", + "repo": "default", "type": "github" } }, @@ -4239,7 +4291,7 @@ "inputs": { "advisory-db": "advisory-db_5", "crane": "crane_6", - "flake-utils": "flake-utils_18", + "flake-utils": "flake-utils_19", "nix-github-actions": "nix-github-actions_4", "nixpkgs": [ "nixpkgs" @@ -4532,7 +4584,7 @@ "inputs": { "advisory-db": "advisory-db_6", "crane": "crane_7", - "flake-utils": "flake-utils_19", + "flake-utils": "flake-utils_20", "nix-github-actions": "nix-github-actions_5", "nixpkgs": [ "nixpkgs" @@ -4585,7 +4637,7 @@ "zjstatus": { "inputs": { "crane": "crane_8", - "flake-utils": "flake-utils_20", + "flake-utils": "flake-utils_21", "nixpkgs": [ "nixpkgs" ], diff --git a/flake.nix b/flake.nix index 1a2c074e..450b16da 100644 --- a/flake.nix +++ b/flake.nix @@ -238,6 +238,11 @@ url = "github:WiVRn/WiVRn/v25.11.1"; flake = false; }; + handoff = { + # url = "github:uttarayan21/handoff"; + url = "path:/home/servius/Projects/handoff"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { diff --git a/nixos/default.nix b/nixos/default.nix index bca7eba7..cf9e2404 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -16,6 +16,7 @@ modules = [ inputs.arion.nixosModules.arion inputs.disko.nixosModules.disko + inputs.handoff.nixosModules.default inputs.home-manager.nixosModules.home-manager inputs.lanzaboote.nixosModules.lanzaboote inputs.musnix.nixosModules.musnix diff --git a/nixos/ryu/services/default.nix b/nixos/ryu/services/default.nix index c8fecdeb..7e548080 100644 --- a/nixos/ryu/services/default.nix +++ b/nixos/ryu/services/default.nix @@ -19,5 +19,6 @@ ./wivrn.nix ./sshd.nix ./fprintd.nix + ./handoff.nix ]; } diff --git a/nixos/ryu/services/handoff.nix b/nixos/ryu/services/handoff.nix new file mode 100644 index 00000000..d99b71e2 --- /dev/null +++ b/nixos/ryu/services/handoff.nix @@ -0,0 +1,7 @@ +{...}: { + services.airpods-handoff = { + enable = true; + user = "servius"; + macAddress = "14:14:7D:E5:1A:AC"; + }; +} diff --git a/overlays.nix b/overlays.nix index 3fd23f52..c58a81a3 100644 --- a/overlays.nix +++ b/overlays.nix @@ -283,6 +283,7 @@ in inputs.nix-minecraft.overlay inputs.nur.overlays.default inputs.rust-overlay.overlays.default + inputs.handoff.overlays.default jellyfin libfprint misc-applications