reorganize config structure

This commit is contained in:
Fabian Montero 2024-08-23 18:16:19 -06:00
parent 6331ddae50
commit 468c95c7a1
Signed by untrusted user: fabian
GPG key ID: 1FFAC35E1798174F
18 changed files with 15 additions and 26 deletions

View file

@ -57,7 +57,7 @@ with lib;
group = "fabian";
shell = pkgs.zsh;
extraGroups = [ "users" "wheel" "networkmanager" "dialout" "libvirtd" ];
openssh.authorizedKeys.keyFiles = [ ./fabian.pub ];
openssh.authorizedKeys.keyFiles = [ "${flakes.self}/pki/fabian.pub" ];
};
groups.fabian.gid = 1000;
};

View file

@ -9,7 +9,7 @@ with lib;
git = {
enable = true;
userEmail = "fabian@posixlycorrect.com";
userName = "fabianmv";
userName = "fabian";
};
neovim.enable = true;
};

View file

@ -3,7 +3,7 @@ with lib;
{
imports = [
./lib
./cli.nix
];
home = {

View file

@ -1,5 +0,0 @@
{
imports = [
./cli.nix
];
}

View file

@ -2,6 +2,15 @@
with lib;
{
imports = [
./lib
./net.nix
./mediawiki.nix
./jitsi.nix
./matrix.nix
./forgejo.nix
./vaultwarden.nix
./bepasty.nix
./jellyfin.nix
./msmtp.nix
./kuma.nix
];
}

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ lib, pkgs, flakes, ... }:
with lib;
{
@ -14,8 +14,7 @@ with lib;
ssl_verify_depth 1;
ssl_verify_client on;
ssl_client_certificate ${../gatekeeper_ca.pem};
ssl_client_certificate ${flakes.self}/pki/gatekeeper_ca.pem;
if ($ssl_client_verify != "SUCCESS") {
return 403;
}

View file

@ -1,14 +0,0 @@
{
imports = [
./net.nix
./mediawiki.nix
./jitsi.nix
./matrix.nix
./forgejo.nix
./vaultwarden.nix
./bepasty.nix
./jellyfin.nix
./msmtp.nix
./kuma.nix
];
}