Skip to content

Commit

Permalink
drop authentik module
Browse files Browse the repository at this point in the history
  • Loading branch information
esselius committed Jul 10, 2024
1 parent 18f4979 commit ef5a542
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ charset = utf-8
trim_trailing_whitespace = false
insert_final_newline = false

[*.{nix,yml,yaml,md}]
[*.{nix,yml,yaml,md,nix}]
trim_trailing_whitespace = true
insert_final_newline = true
8 changes: 7 additions & 1 deletion nixos-configurations/adama.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{ ezModules, config, ... }:
{ inputs, ezModules, config, ... }:

{
_module.args.mkAuthentikScope = inputs.authentik-nix.lib.mkAuthentikScope;

imports = [
inputs.authentik-nix.nixosModules.default

ezModules.hardware-rpi5
ezModules.sshd
ezModules.user-peteresselius
ezModules.profiles
ezModules.authentik-blueprints
];

nixpkgs.hostPlatform = "aarch64-linux";
Expand Down
9 changes: 0 additions & 9 deletions nixos-modules/authentik.nix

This file was deleted.

1 change: 0 additions & 1 deletion nixos-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{
imports = [
ezModules.context
ezModules.profiles
ezModules.agenix
];

Expand Down
13 changes: 1 addition & 12 deletions nixos-modules/profiles/auth.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
{ ezModules, config, lib, ... }:
{ config, lib, ... }:

let
cfg = config.profiles.auth;
inherit (lib) types mkOption mkEnableOption mkIf;
in
{
# imports = [
# ezModules.authentik
# ezModules.authentik-blueprints
# ];

options = {
profiles.auth = {
enable = mkEnableOption "auth";
# env-file = mkOption {
# type = types.str;
# };
# vhost = mkOption {
# type = types.str;
# };
listen_http = mkOption {
type = types.str;
default = "0.0.0.0:9000";
Expand Down

0 comments on commit ef5a542

Please sign in to comment.