Compare commits

...

3 Commits

Author SHA1 Message Date
Sky Hearn fef06f7eae add gitea to the keys group 2024-03-06 22:47:13 +00:00
Sky Hearn 91a382415f store password in a file, and not in nix store 2024-03-06 21:56:52 +00:00
Sky Hearn 9ea5275661 fix syntax errors with sky 2024-03-06 21:56:13 +00:00
3 changed files with 5 additions and 4 deletions

View File

@ -28,7 +28,7 @@
appName = "My awesome Gitea server"; # Give the site a name
database = {
type = "postgres";
password = "password"; # config.sops.secrets."postgres/gitea_dbpass".path
passwordFile = "/run/keys/gitea-dbpassword"; # config.sops.secrets."postgres/gitea_dbpass".path
};
settings.server = {
DOMAIN = "git.my-domain.tld";

View File

@ -9,14 +9,14 @@
enable = true;
shellAliases = {
nv = "nvim";
}
}
};
};
programs.git = {
enable = true;
userName = "Sky Hearn";
userEmail = "sky.hearn@pm.me";
}
};
# The state version is required and should stay at the version you
# originally installed.

View File

@ -9,6 +9,7 @@
users.extraUsers.podman.hashedPassword = "";
users.users.podman.isNormalUser = true;
users.users.gitea.isSystemUser = true;
users.groups.keys.members = [ "gitea" ];
users.extraUsers.sky.hashedPassword = "";
users.groups.wheel.members=["sky"];