mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
Merge branch 'master' of github.com:starr-dusT/dotfiles
This commit is contained in:
commit
70024a7a9b
@ -19,7 +19,6 @@
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
user = "tstarr";
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 = ''
|
||||
|
22
provision/hosts/torus/gitea.nix
Normal file
22
provision/hosts/torus/gitea.nix
Normal 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;
|
||||
#};
|
||||
};
|
||||
}
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user