Merge branch 'master' of github.com:starr-dusT/dotfiles

This commit is contained in:
Tyler Starr 2024-01-01 00:20:14 -08:00
commit 70024a7a9b
6 changed files with 29 additions and 4 deletions

View File

@ -19,7 +19,6 @@
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
};
lib = nixpkgs.lib;
user = "tstarr";

View File

@ -19,6 +19,7 @@
# Add non-free packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" "openssl-1.1.1w" ];
nixpkgs.overlays = import ../../lib/overlays.nix;
# Hardware options

View File

@ -18,6 +18,7 @@
# Add non-free packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" "openssl-1.1.1w" ];
nixpkgs.overlays = import ../../lib/overlays.nix;
# Use zen kernel

View File

@ -9,6 +9,7 @@
./share.nix
./rss.nix
./home-assistant
./gitea.nix
];
nix = {
@ -25,6 +26,7 @@
# Add non-free packages
nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [ "openssl-1.1.1w" ];
nixpkgs.overlays = import ../../lib/overlays.nix;
# Use normal kernel
@ -121,6 +123,9 @@
"media.tstarr.us" = (SSL // {
locations."/".proxyPass = "http://localhost:8096/";
});
"git.tstarr.us" = (SSL // {
locations."/".proxyPass = "http://localhost:3001/";
});
"vault.tstarr.us" = (SSL // {
locations."/".proxyPass = "http://localhost:5000/";
extraConfig = ''

View File

@ -0,0 +1,22 @@
{ config, lib, pkgs, user, ... }:
{
services.gitea = {
enable = true;
lfs.enable = true;
dump = {
enable = true;
interval = "23:05";
};
settings.service = {
DISABLE_REGISTRATION = true;
};
settings.server = {
DOMAIN = "git.tstarr.us";
HTTP_PORT = 3001;
ROOT_URL = "https://git.tstarr.us";
};
#settings.actions = {
# ENABLED = true;
#};
};
}

View File

@ -5,9 +5,6 @@ let
in {
options.modules.devel.notes.enable = lib.mkEnableOption "notes";
config = lib.mkIf cfg.enable {
nixpkgs.config.permittedInsecurePackages = [
"electron-25.9.0"
];
environment.systemPackages = with pkgs; [
pandoc
gollum