forked from poz/niksos
minor changes
This commit is contained in:
parent
5fbd3376bd
commit
6abd0b07c1
4 changed files with 7 additions and 7 deletions
|
@ -34,8 +34,8 @@ in {
|
||||||
environment.systemPackages = with pkgs; [ dbus ];
|
environment.systemPackages = with pkgs; [ dbus ];
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"d /var/lib/${service-name} 0700 ${service-name} ${builtins.toString gid}"
|
"d /var/lib/${service-name} 0700 ${service-name} ${toString gid}"
|
||||||
"d /var/lib/${service-name}/data 0700 ${service-name} ${builtins.toString gid}"
|
"d /var/lib/${service-name}/data 0700 ${service-name} ${toString gid}"
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.services."${config.virtualisation.oci-containers.backend}-${service-name}".serviceConfig = {
|
systemd.services."${config.virtualisation.oci-containers.backend}-${service-name}".serviceConfig = {
|
||||||
|
|
|
@ -15,12 +15,12 @@
|
||||||
APP_NAME = "fuck it we code";
|
APP_NAME = "fuck it we code";
|
||||||
};
|
};
|
||||||
|
|
||||||
server = {
|
server = rec {
|
||||||
DOMAIN = "git.jacekpoz.pl";
|
DOMAIN = "git.jacekpoz.pl";
|
||||||
HTTP_PORT = 1849;
|
HTTP_PORT = 1849;
|
||||||
PROTOCOL = "http";
|
PROTOCOL = "http";
|
||||||
SSH_PORT = 8236;
|
SSH_PORT = 8236;
|
||||||
ROOT_URL = "${config.services.forgejo.settings.server.PROTOCOL}://${config.services.forgejo.settings.server.DOMAIN}/";
|
ROOT_URL = "${PROTOCOL}://${DOMAIN}/";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
services.caddy = {
|
services.caddy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."git.jacekpoz.pl".extraConfig = ''
|
virtualHosts."git.jacekpoz.pl".extraConfig = ''
|
||||||
reverse_proxy * localhost:1849
|
reverse_proxy * localhost:${toString config.services.forgejo.settings.server.HTTP_PORT}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."live.jacekpoz.pl".extraConfig = ''
|
virtualHosts."live.jacekpoz.pl".extraConfig = ''
|
||||||
encode gzip
|
encode gzip
|
||||||
reverse_proxy 127.0.0.1:9842
|
reverse_proxy ${config.services.owncast.listen}:${toString config.services.owncast.port}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
hmCfg = config.home-manager.users.${username};
|
hmCfg = config.home-manager.users.${username};
|
||||||
osuCfg = config.myOptions.programs.osu;
|
osuCfg = config.myOptions.programs.osu;
|
||||||
|
|
||||||
isAmdGpuPresent = builtins.elem "amdgpu" config.boot.initrd.kernelModules;
|
isAmdGpuPresent = elem "amdgpu" config.boot.initrd.kernelModules;
|
||||||
|
|
||||||
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) foot wl-clipboard swww wlsunset swaylock;
|
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) foot wl-clipboard swww wlsunset swaylock;
|
||||||
inherit (inputs.anyrun.packages.${pkgs.system}) anyrun;
|
inherit (inputs.anyrun.packages.${pkgs.system}) anyrun;
|
||||||
|
|
Loading…
Reference in a new issue