separate configs, LTE modem, wireguard, zsh
This commit is contained in:
parent
b73d0e9dbe
commit
8ce905a427
11 changed files with 360 additions and 184 deletions
31
modules/programs.nix
Normal file
31
modules/programs.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Programs and services configuration
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# GPG agent
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryPackage = pkgs.pinentry-curses;
|
||||
};
|
||||
|
||||
# Git configuration
|
||||
environment.etc."gitconfig".text = ''
|
||||
[user]
|
||||
name = Sergei Poljanski
|
||||
email = me@asxp.io
|
||||
signingkey = 4F8851660FA4121B
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[safe]
|
||||
directory = /etc/nixos
|
||||
'';
|
||||
|
||||
# Enable flakes
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Enable the OpenSSH daemon.
|
||||
# services.openssh.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue