works again, mostly done, now we can start with server

This commit is contained in:
martyTF 2026-04-03 01:11:14 +02:00
parent 784f214fb7
commit 270e1a0be4
38 changed files with 623 additions and 381 deletions

View file

@ -8,6 +8,7 @@
{
imports = [
./boot.nix
./git.nix
./shell.nix
./networking.nix
./localization.nix

28
modules/system/git.nix Normal file
View file

@ -0,0 +1,28 @@
{
config,
lib,
pkgs,
...
}:
{
config = {
programs = {
git = {
enable = true;
config = {
init = {
defaultBranch = "main";
};
user = {
email = "${config.user.email}";
name = "${config.user.userName}";
};
push = {
autoSetupRemote = true;
};
};
};
};
};
}

View file

@ -2,7 +2,7 @@
{
networking = {
domain = config.domain;
domain = "maty.tf";
networkmanager.enable = true;
firewall = {
enable = true;