Add Android tools

This commit is contained in:
Thomas Avé 2024-11-01 19:53:44 +01:00
parent 066206fa16
commit a8549485d4
3 changed files with 22 additions and 13 deletions

View File

@ -137,11 +137,11 @@
]
},
"locked": {
"lastModified": 1730016908,
"narHash": "sha256-bFCxJco7d8IgmjfNExNz9knP8wvwbXU4s/d53KOK6U0=",
"lastModified": 1730450782,
"narHash": "sha256-0AfApF8aexgB6o34qqLW2cCX4LaWJajBVdU6ddiWZBM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "e83414058edd339148dc142a8437edb9450574c8",
"rev": "8ca921e5a806b5b6171add542defe7bdac79d189",
"type": "github"
},
"original": {
@ -193,11 +193,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1730143527,
"narHash": "sha256-3uRuQHxAd/+8PptDpIZZlC588O0eTV1mTa+z8v4cWPU=",
"lastModified": 1730466192,
"narHash": "sha256-oP+XK3M7dUut9zAP6X3ZCrHd3LuyAM4n3RTXKf7NM30=",
"ref": "refs/heads/main",
"rev": "d679d200299ed4670f0d0f138c793d5f507b7cec",
"revCount": 5390,
"rev": "3852418d2446555509738bf1486940042107afe7",
"revCount": 5398,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -398,11 +398,11 @@
},
"nixpkgs_4": {
"locked": {
"lastModified": 1729880355,
"narHash": "sha256-RP+OQ6koQQLX5nw0NmcDrzvGL8HDLnyXt/jHhL1jwjM=",
"lastModified": 1730200266,
"narHash": "sha256-l253w0XMT8nWHGXuXqyiIC/bMvh1VRszGXgdpQlfhvU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "18536bf04cd71abd345f9579158841376fdd0c5a",
"rev": "807e9154dcb16384b1b765ebe9cd2bba2ac287fd",
"type": "github"
},
"original": {
@ -414,11 +414,11 @@
},
"nur": {
"locked": {
"lastModified": 1730226208,
"narHash": "sha256-lsSMf1fduYa0lA+YOtvepQMaLgZ23zREJTQ2P+DsXa8=",
"lastModified": 1730464205,
"narHash": "sha256-J8dDwKgRXrS6Jfija3Fu/UhsjtESq7LVc6rSd3TCRzc=",
"owner": "nix-community",
"repo": "NUR",
"rev": "447ea147db384850335ecbe0f894f92dc7b963be",
"rev": "0cec4b96fa9a9f3b348439ede1fd5ef46593b966",
"type": "github"
},
"original": {

8
hosts/Common/android.nix Normal file
View File

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
programs.adb.enable = true;
users.users.user.extraGroups = ["adbusers"];
services.udev.packages = [
pkgs.android-udev-rules
];
}

View File

@ -6,6 +6,7 @@ in {
(import ../Common/default.nix { inherit inputs pkgs; })
(import ../Common/desktop.nix { inherit inputs pkgs config; })
(import ../Common/nfs.nix { inherit pkgs serverIP; })
(import ../Common/android.nix { inherit pkgs serverIP; })
];
# Kernel