flake-parts: rename lib' to conf
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
{ config, pkgs, inputs, lib', ... }:
 | 
			
		||||
{ config, pkgs, inputs, conf, ... }:
 | 
			
		||||
{
 | 
			
		||||
  systemd.services.filehost = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
@@ -7,7 +7,7 @@
 | 
			
		||||
      Type = "simple";
 | 
			
		||||
      Environment = [
 | 
			
		||||
        "TITLE=nattofiles"
 | 
			
		||||
        "USER_URL=https://f.${lib'.network.addresses.domain.natto}"
 | 
			
		||||
        "USER_URL=https://f.${conf.network.addresses.domain.natto}"
 | 
			
		||||
        "ROCKET_LIMITS={file=\"512MB\",data-form=\"512MB\"}"
 | 
			
		||||
        "ROCKET_LOG_LEVEL=debug"
 | 
			
		||||
        "ROCKET_ADDRESS=0.0.0.0"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
{ config, pkgs, lib', ... }:
 | 
			
		||||
{ config, pkgs, conf, ... }:
 | 
			
		||||
{
 | 
			
		||||
  services = {
 | 
			
		||||
    gitea = rec {
 | 
			
		||||
@@ -13,7 +13,7 @@
 | 
			
		||||
      mailerPasswordFile = "/var/secrets/giteamailer.pass";
 | 
			
		||||
      settings =
 | 
			
		||||
        let
 | 
			
		||||
          domain = lib'.network.addresses.domain.natto;
 | 
			
		||||
          domain = conf.network.addresses.domain.natto;
 | 
			
		||||
        in
 | 
			
		||||
        {
 | 
			
		||||
          server = rec {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user