Update flake and add adb

This commit is contained in:
thiloho
2023-12-24 17:13:11 +01:00
parent faba55111b
commit cee5aa73f4
2 changed files with 13 additions and 4 deletions

6
flake.lock generated
View File

@@ -176,11 +176,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1703350496, "lastModified": 1703429908,
"narHash": "sha256-KE9lUaijbXwVzA5HbM5JStkIwJyhP8PDvkU/iVMfLnI=", "narHash": "sha256-6fzFkfJ6rb6/Wg70uKAh2Um6v58XDg+fAd/SnLcx6UE=",
"owner": "thiloho", "owner": "thiloho",
"repo": "todos", "repo": "todos",
"rev": "23240697dd8b751a4e09fd647ca5a2f5fdb18cac", "rev": "23829c02faede3ffab951626999854e118e44c47",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -9,7 +9,13 @@
../shared.nix ../shared.nix
]; ];
networking.hostName = "pc"; networking = {
hostName = "pc";
firewall = {
allowedTCPPorts = [ 5173 ];
allowedUDPPorts = [ 5173 ];
};
};
services.postgresql = { services.postgresql = {
enable = true; enable = true;
@@ -21,6 +27,9 @@
''; '';
}; };
programs.adb.enable = true;
users.users.thiloho.extraGroups = [ "adbusers" ];
home-manager.users.thiloho = { pkgs, lib, ... }: { home-manager.users.thiloho = { pkgs, lib, ... }: {
programs.git.signing.key = "5ECD00BDC15A987E"; programs.git.signing.key = "5ECD00BDC15A987E";
home = { home = {