refactor: rename server: rpi4 -> home-server
This commit is contained in:
parent
8dcece0836
commit
8c52dfff36
6 changed files with 6 additions and 6 deletions
40
home/felschr-server.nix
Normal file
40
home/felschr-server.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./shell
|
||||
# ./editors
|
||||
./git.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [ ncurses ];
|
||||
|
||||
programs.gpg.enable = true;
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
enableSshSupport = true;
|
||||
# use auth subkey's keygrip: gpg2 -K --with-keygrip
|
||||
sshKeys = [ "3C48489F3B0FBB44E72180D4B1D7541C201C9987" ];
|
||||
defaultCacheTtl = 600;
|
||||
defaultCacheTtlSsh = 600;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
programs.zsh.initExtra = ''
|
||||
export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gnupg/S.gpg-agent.ssh
|
||||
'';
|
||||
|
||||
programs.git.defaultProfile = "private";
|
||||
|
||||
home.sessionVariables.EDITOR = "nvim";
|
||||
programs.neovim.enable = true;
|
||||
programs.neovim.viAlias = true;
|
||||
programs.neovim.vimAlias = true;
|
||||
|
||||
xdg.configFile."nixpkgs/config.nix".text = ''
|
||||
{
|
||||
allowUnfree = true;
|
||||
}
|
||||
'';
|
||||
|
||||
home.stateVersion = "21.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue