Several things:

- upgraded to 21.11 unstable
- old (working) amule version
- android tools (adb)
- mounting nas via ssh (new specific key)
- scrcpy
- tor-browser
- vscode settings
- home server settings
This commit is contained in:
Andrea Ciceri 2021-12-07 14:02:32 +01:00
parent ecb7bc935b
commit 7f18e318b7
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
14 changed files with 457 additions and 152 deletions

3
profiles/adb/default.nix Normal file
View file

@ -0,0 +1,3 @@
{
programs.adb.enable = true;
}

View file

@ -47,7 +47,9 @@ in
location.provider = "geoclue2";
users.users.root.openssh.authorizedKeys.keys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJmn7H6wxrxCHypvY74Z6pBr5G6v564NaUZb9xIILV92JEdpZzuTLLlP+JkMx/8MLRy+pC7prMwR+FhH+LaTm/9x3T6FYP/q9UIAL3cFwBAwj5XQXQKzx9f6pX/7iJrMfAUQ+ZrRUNJHt5Gl+8UypmDgnQLuv5vmQSMRzKnUPuu4lCJtWOpSPhXffz3Ec1tm5nAMuxIMRPY91PYu1fMLlFrjB1FX1goVHKB1uWx16GjJszYCVbN6xcPac0sgUg+qNGBhWkUh0F073rhepQJeWp5FtwIxe2zRsZBxxTy5qxNLmHzBeNDxlOkcy2/Lr+BxVy+mhF/2fJziX80/bWSEA1" ];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJmn7H6wxrxCHypvY74Z6pBr5G6v564NaUZb9xIILV92JEdpZzuTLLlP+JkMx/8MLRy+pC7prMwR+FhH+LaTm/9x3T6FYP/q9UIAL3cFwBAwj5XQXQKzx9f6pX/7iJrMfAUQ+ZrRUNJHt5Gl+8UypmDgnQLuv5vmQSMRzKnUPuu4lCJtWOpSPhXffz3Ec1tm5nAMuxIMRPY91PYu1fMLlFrjB1FX1goVHKB1uWx16GjJszYCVbN6xcPac0sgUg+qNGBhWkUh0F073rhepQJeWp5FtwIxe2zRsZBxxTy5qxNLmHzBeNDxlOkcy2/Lr+BxVy+mhF/2fJziX80/bWSEA1"
];
nix = {
autoOptimiseStore = true;

View file

@ -2,24 +2,26 @@
{
environment.systemPackages = [ pkgs.sshfs ];
fileSystems = let
nasUser = "andrea";
nasHost = "ccr.ydns.eu";
fsType = "fuse.sshfs";
target = "/home/ccr/nas";
options = [
"delay_connect"
"_netdev,user"
"idmap=user"
"transform_symlinks"
"identityfile=/home/andrea/.ssh/id_rsa"
"allow_other"
"default_permissions"
"uid=1000"
"gid=100"
"nofail"
];
in
fileSystems =
let
nasUser = "ccr";
nasHost = "ccr.ydns.eu";
fsType = "fuse.sshfs";
target = "/home/ccr/nas";
options = [
"delay_connect"
"_netdev,user"
"idmap=user"
"transform_symlinks"
# ssh-add -L > ~/.ssh/id_rsa
"identityfile=/home/ccr/.ssh/id_rsa"
"allow_other"
"default_permissions"
"uid=1000"
"gid=100"
"nofail"
];
in
{
"${target}/amule" = {
inherit fsType options;