feat: add initial rpi4 config

This commit is contained in:
Felix Schröter 2020-09-27 14:27:25 +02:00
parent 10a370ceac
commit a1806d8094
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
4 changed files with 112 additions and 0 deletions

32
home/felschr-rpi4.nix Normal file
View file

@ -0,0 +1,32 @@
{ config, pkgs, ... }:
{
imports = [
./shell
# ./editors
./git.nix
];
home.packages = with pkgs; [ ncurses ];
services.gpg-agent = {
enable = true;
enableSshSupport = true;
sshKeys = [ "4AE1DDE05F4BB6C8E220501F1336A98E89836D90" ];
defaultCacheTtl = 600;
defaultCacheTtlSsh = 600;
pinentryFlavor = "curses";
};
programs.gpg.enable = true;
programs.git.defaultProfile = "private";
xdg.configFile."nixpkgs/config.nix".text = ''
{
allowUnfree = true;
}
'';
home.stateVersion = "20.09";
}