From cee5aa73f44fb302fb9406d0c392be8ecb7743a9 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sun, 24 Dec 2023 17:13:11 +0100 Subject: [PATCH] Update flake and add adb --- flake.lock | 6 +++--- nixos-configurations/pc/default.nix | 11 ++++++++++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/flake.lock b/flake.lock index ad06ab8..94b5355 100644 --- a/flake.lock +++ b/flake.lock @@ -176,11 +176,11 @@ ] }, "locked": { - "lastModified": 1703350496, - "narHash": "sha256-KE9lUaijbXwVzA5HbM5JStkIwJyhP8PDvkU/iVMfLnI=", + "lastModified": 1703429908, + "narHash": "sha256-6fzFkfJ6rb6/Wg70uKAh2Um6v58XDg+fAd/SnLcx6UE=", "owner": "thiloho", "repo": "todos", - "rev": "23240697dd8b751a4e09fd647ca5a2f5fdb18cac", + "rev": "23829c02faede3ffab951626999854e118e44c47", "type": "github" }, "original": { diff --git a/nixos-configurations/pc/default.nix b/nixos-configurations/pc/default.nix index f284c16..fbe0b37 100644 --- a/nixos-configurations/pc/default.nix +++ b/nixos-configurations/pc/default.nix @@ -9,7 +9,13 @@ ../shared.nix ]; - networking.hostName = "pc"; + networking = { + hostName = "pc"; + firewall = { + allowedTCPPorts = [ 5173 ]; + allowedUDPPorts = [ 5173 ]; + }; + }; services.postgresql = { enable = true; @@ -21,6 +27,9 @@ ''; }; + programs.adb.enable = true; + users.users.thiloho.extraGroups = [ "adbusers" ]; + home-manager.users.thiloho = { pkgs, lib, ... }: { programs.git.signing.key = "5ECD00BDC15A987E"; home = {