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 appName = "My awesome Gitea server"; # Give the site a name
database = { database = {
type = "postgres"; 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 = { settings.server = {
DOMAIN = "git.my-domain.tld"; DOMAIN = "git.my-domain.tld";

View File

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

View File

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