Files
nixos/modules/common.nix
2024-07-18 21:55:03 -07:00

30 lines
538 B
Nix
Executable File

{ pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
programs.git = {
enable = true;
lfs.enable = true;
config = {
init.defaultBranch = "master";
user = {
email = "git@nettika.cat";
name = "Nettika";
};
credential.helper = "store";
};
};
programs.nano = {
enable = true;
nanorc = ''
set autoindent
set linenumbers
'';
};
environment.systemPackages = [ pkgs.git-crypt ];
}