From 5e927576e42601d8fae3592741e0f58f997a50cc Mon Sep 17 00:00:00 2001 From: Spotlight Date: Mon, 24 Mar 2025 21:56:59 -0500 Subject: [PATCH] cyclone: Include adb support --- flake.lock | 18 +++++++++--------- hosts/linux/cyclone/configuration.nix | 7 +++++-- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/flake.lock b/flake.lock index 95980db..eb00430 100644 --- a/flake.lock +++ b/flake.lock @@ -92,11 +92,11 @@ ] }, "locked": { - "lastModified": 1742701794, - "narHash": "sha256-bJIFFa6/4vBGoNmCwjO5TCIbiveV2BRxVLqHcxk5jXw=", + "lastModified": 1742851132, + "narHash": "sha256-8vEcDefstheV1whup+5fSpZu4g9Jr7WpYzOBKAMSHn4=", "owner": "nix-community", "repo": "home-manager", - "rev": "9172a6f956f7e0f7810861b9b1146f1c43d9abcb", + "rev": "c4d5d72805d14ea43c140eeb70401bf84c0f11b4", "type": "github" }, "original": { @@ -127,11 +127,11 @@ ] }, "locked": { - "lastModified": 1742595055, - "narHash": "sha256-cEetDber6LF8W4ThmRc4rwKs/o8y2GH0pUdX7e6CnAQ=", + "lastModified": 1742741935, + "narHash": "sha256-ZCNvPYWkL9hxzgWn1gmYCZItqBU4ujsWjwWNpcwCjfQ=", "owner": "LnL7", "repo": "nix-darwin", - "rev": "e9f41de2a81f04390afd106959adf352a207628f", + "rev": "ebb88c3428dcdd95c06dca4d49b9791a65ab777b", "type": "github" }, "original": { @@ -142,11 +142,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1742422364, - "narHash": "sha256-mNqIplmEohk5jRkqYqG19GA8MbQ/D4gQSK0Mu4LvfRQ=", + "lastModified": 1742669843, + "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a84ebe20c6bc2ecbcfb000a50776219f48d134cc", + "rev": "1e5b653dff12029333a6546c11e108ede13052eb", "type": "github" }, "original": { diff --git a/hosts/linux/cyclone/configuration.nix b/hosts/linux/cyclone/configuration.nix index 1be363f..d7eb8e9 100644 --- a/hosts/linux/cyclone/configuration.nix +++ b/hosts/linux/cyclone/configuration.nix @@ -101,12 +101,15 @@ vscode ]; - programs.steam.enable = true; + programs = { + adb.enable = true; + steam.enable = true; + }; # Docker support boot.kernel.sysctl."net.ipv4.ip_forward" = true; networking.firewall.trustedInterfaces = [ "docker0" ]; - users.users.spotlight.extraGroups = [ "docker" ]; + users.users.spotlight.extraGroups = [ "adbusers" "docker" ]; virtualisation.docker.enable = true; # Docker NVIDIA runtime support hardware.nvidia-container-toolkit.enable = true;