fix statix checks
This commit is contained in:
parent
cdebb73c54
commit
dfc75a57bd
5 changed files with 9 additions and 10 deletions
|
@ -39,10 +39,10 @@ in {
|
||||||
users.groups = { "${group}" = { }; };
|
users.groups = { "${group}" = { }; };
|
||||||
users.users = {
|
users.users = {
|
||||||
fossil = {
|
fossil = {
|
||||||
|
inherit group;
|
||||||
description = "Fossil Service";
|
description = "Fossil Service";
|
||||||
home = path;
|
home = path;
|
||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
group = group;
|
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,8 +28,8 @@ in {
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
forwardPorts = [
|
forwardPorts = [
|
||||||
{
|
{
|
||||||
|
inherit httpPort;
|
||||||
containerPort = httpPort;
|
containerPort = httpPort;
|
||||||
hostPort = httpPort;
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
containerPort = sshPort;
|
containerPort = sshPort;
|
||||||
|
@ -45,10 +45,9 @@ in {
|
||||||
config = { config, pkgs, lib, ... }: {
|
config = { config, pkgs, lib, ... }: {
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
services.gitea = {
|
services.gitea = {
|
||||||
|
inherit domain httpPort;
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = domain;
|
|
||||||
rootUrl = baseurl;
|
rootUrl = baseurl;
|
||||||
httpPort = httpPort;
|
|
||||||
disableRegistration = true;
|
disableRegistration = true;
|
||||||
stateDir = path;
|
stateDir = path;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -23,9 +23,9 @@ in {
|
||||||
}];
|
}];
|
||||||
config = { config, pkgs, ... }:
|
config = { config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
root = config.services.tt-rss.root;
|
inherit (config.services.tt-rss) pool;
|
||||||
pool = config.services.tt-rss.pool;
|
inherit (config.services.tt-rss) root;
|
||||||
in rec {
|
in {
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
services.tt-rss = {
|
services.tt-rss = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -38,8 +38,8 @@ in {
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${domain}" = {
|
"${domain}" = {
|
||||||
listen = [{
|
listen = [{
|
||||||
|
inherit port;
|
||||||
addr = "0.0.0.0";
|
addr = "0.0.0.0";
|
||||||
port = port;
|
|
||||||
}];
|
}];
|
||||||
root = "${root}/www";
|
root = "${root}/www";
|
||||||
locations."/" = { index = "index.php"; };
|
locations."/" = { index = "index.php"; };
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
services.fprintd = { enable = true; };
|
services.fprintd = { enable = true; };
|
||||||
|
|
||||||
home-manager.users.cyryl = { ... }: {
|
home-manager.users.cyryl = { _ }: {
|
||||||
home.packages = with pkgs; [ firefox vim gnome3.gedit git ];
|
home.packages = with pkgs; [ firefox vim gnome3.gedit git ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
sops.secrets.openweathermap-api-key = {
|
sops.secrets.openweathermap-api-key = {
|
||||||
|
inherit (config.users.users.cyryl) group;
|
||||||
mode = "0440";
|
mode = "0440";
|
||||||
owner = config.users.users.cyryl.name;
|
owner = config.users.users.cyryl.name;
|
||||||
group = config.users.users.cyryl.group;
|
|
||||||
sopsFile = ./openweathermap.sops.yaml;
|
sopsFile = ./openweathermap.sops.yaml;
|
||||||
};
|
};
|
||||||
home-manager.users.cyryl = { home.sessionVariables = { }; };
|
home-manager.users.cyryl = { home.sessionVariables = { }; };
|
||||||
|
|
Loading…
Reference in a new issue