update flake, fix breaking changes

This commit is contained in:
2024-10-20 19:06:35 -04:00
parent e13ad85d0a
commit e2bc5a3235
6 changed files with 56 additions and 105 deletions

View File

@ -8,7 +8,6 @@
{
environment.systemPackages = with pkgs; [
attic-client
attic
];
services = {
@ -30,7 +29,7 @@
atticd = {
enable = true;
credentialsFile = config.sops.secrets."attic/secret-key".path;
environmentFile = config.sops.secrets."attic/secret-key".path;
settings = {
listen = "[::]:8183";
@ -96,7 +95,7 @@
serviceConfig = {
User = "root";
Restart = "always";
ExecStart = "${pkgs.attic}/bin/attic watch-store cache-nix-dot";
ExecStart = "${pkgs.attic-client}/bin/attic watch-store cache-nix-dot";
};
};
attic-sync-hydra = {

View File

@ -1,5 +1,7 @@
{ inputs, ... }:
{
users = [ "alice" ];
modules = [ inputs.attic.nixosModules.atticd ];
modules = [
# inputs.attic.nixosModules.atticd
];
}

View File

@ -16,9 +16,11 @@ in
passwordFile = config.sops.secrets."gitea/dbpass".path;
host = "127.0.0.1:5432";
};
domain = "git.alicehuston.xyz";
rootUrl = "https://git.alicehuston.xyz/";
httpPort = 443;
settings.server = {
domain = "git.alicehuston.xyz";
rootUrl = "https://git.alicehuston.xyz/";
httpPort = 443;
};
stateDir = base_path;
lfs.enable = true;
recommendedDefaults = true;