Revert "Add authentik"
This reverts commit 8ca88da93a0b3238e4642da5b5e299694dcf2931.
This commit is contained in:
parent
3a77365452
commit
0cb2740a86
@ -6,7 +6,6 @@
|
||||
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
|
||||
# nixpkgs-master.url = "nixpkgs";
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
authentik-nix.url = "github:nix-community/authentik-nix";
|
||||
deploy-rs.url = "github:serokell/deploy-rs";
|
||||
disko = {
|
||||
url = "github:nix-community/disko";
|
||||
|
@ -1,8 +1,7 @@
|
||||
{ config, lib, self, ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
self.inputs.authentik-nix.nixosModules.default
|
||||
./hardware-configuration.nix
|
||||
../server.nix
|
||||
];
|
||||
@ -42,24 +41,6 @@
|
||||
|
||||
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
|
||||
|
||||
age.secrets."files/services/authentik/envfile" = {
|
||||
file = "${self.inputs.secrets}/files/services/authentik/envfile.age";
|
||||
};
|
||||
|
||||
services.authentik = {
|
||||
enable = true;
|
||||
environmentFile = config.age.secrets."files/services/authentik/envfile".path;
|
||||
settings = {
|
||||
disable_startup_analytics = true;
|
||||
disable_update_check = true;
|
||||
};
|
||||
nginx = {
|
||||
enable = true;
|
||||
enableACME = true;
|
||||
host = "auth.vimium.com";
|
||||
};
|
||||
};
|
||||
|
||||
modules = rec {
|
||||
databases.postgresql.enable = true;
|
||||
services = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user