Add mobile support (PinePhone Pro)

This commit is contained in:
Kiana Sheibani 2023-01-07 20:54:12 -05:00
parent 5c30019fc3
commit 46c858faa0
4 changed files with 90 additions and 4 deletions

38
mobile/home-manager.nix Normal file
View file

@ -0,0 +1,38 @@
{ config, pkgs, username, fullname, ... }:
{
home.username = username;
home.homeDirectory = "/home/" + username;
home.stateVersion = "22.11";
imports = [ ../home-manager/shell ];
xdg.enable = true;
xdg.userDirs.enable = true;
programs.git = {
enable = true;
userName = fullname;
userEmail = "kiana.a.sheibani@gmail.com";
extraConfig = {
credential.helper = "store";
git.allowForcePush = true;
init.defaultBranch = "main";
user.signingkey = "6CB106C25E86A9F7";
commit.gpgsign = true;
};
};
programs.gpg.enable = true;
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentryFlavor = "curses";
extraConfig = ''
allow-emacs-pinentry
allow-loopback-pinentry
'';
};
}