Reorganize hosts and modules

This commit is contained in:
2024-07-18 21:50:11 -07:00
parent eb1dc47bb1
commit 1649951409
8 changed files with 46 additions and 89 deletions

29
modules/common.nix Normal file
View File

@@ -0,0 +1,29 @@
{ 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 ];
}