Compare commits
2 commits
eb0c6fc3b0
...
c72baa173c
| Author | SHA1 | Date | |
|---|---|---|---|
| c72baa173c | |||
| dc34117014 |
4 changed files with 33 additions and 5 deletions
|
|
@ -65,7 +65,8 @@
|
|||
nixOnDroidConfigurations.default = inputs.nix-on-droid.lib.nixOnDroidConfiguration {
|
||||
modules = [
|
||||
./hosts/redmi
|
||||
{ nix.registry.nixpkgs.flake = nixpkgs; } { nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
||||
{ nix.registry.nixpkgs.flake = nixpkgs; }
|
||||
{ nix.nixPath = [ "nixpkgs=${nixpkgs}" ]; }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -189,6 +189,24 @@ in {
|
|||
root = "/srv/www/failco.de";
|
||||
serverAliases = [ "www.failco.de" "mail.failco.de" ];
|
||||
};
|
||||
|
||||
"git.failco.de" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = { proxyPass = "http://127.0.0.1:3001/"; };
|
||||
};
|
||||
};
|
||||
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
database.type = "sqlite3";
|
||||
lfs.enable = true;
|
||||
domain = "git.failco.de";
|
||||
rootUrl = "https://git.failco.de";
|
||||
httpAddress = "127.0.0.1";
|
||||
httpPort = 3001;
|
||||
|
||||
settings.service.DISABLE_REGISTRATION = true;
|
||||
};
|
||||
|
||||
services.fail2ban = {
|
||||
|
|
@ -226,15 +244,15 @@ in {
|
|||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = "thrall.failco.de";
|
||||
domains = [ "failco.de" ];
|
||||
domains = [ "failco.de" "jakalx.net" ];
|
||||
|
||||
loginAccounts = {
|
||||
"me@failco.de" = {
|
||||
hashedPasswordFile = config.age.secrets.mailPass.path;
|
||||
|
||||
aliases = [ "jakalx@failco.de" ];
|
||||
aliases = [ "lx@failco.de" "alex@failco.de" ];
|
||||
|
||||
catchAll = [ "failco.de" ];
|
||||
catchAll = [ "failco.de" "jakalx.net" ];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
fd
|
||||
fzf
|
||||
bat
|
||||
lshw
|
||||
pciutils
|
||||
];
|
||||
|
||||
networking.firewall.enable = true;
|
||||
|
|
|
|||
|
|
@ -17,12 +17,19 @@ in
|
|||
username = "alex";
|
||||
homeDirectory = "/home/alex";
|
||||
stateVersion = "22.11";
|
||||
|
||||
packages = with pkgs; [
|
||||
lutris
|
||||
discord
|
||||
mosh
|
||||
];
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Alexander Kobjolke";
|
||||
userEmail = "me@failco.de";
|
||||
};
|
||||
|
||||
# do not show home-manager notifications
|
||||
news.display = "silent";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue