fix statix checks

This commit is contained in:
Cyryl Płotnicki 2022-11-08 17:06:20 +00:00
parent cdebb73c54
commit dfc75a57bd
5 changed files with 9 additions and 10 deletions

View file

@ -39,10 +39,10 @@ in {
users.groups = { "${group}" = { }; };
users.users = {
fossil = {
inherit group;
description = "Fossil Service";
home = path;
useDefaultShell = true;
group = group;
isSystemUser = true;
};
};

View file

@ -28,8 +28,8 @@ in {
autoStart = true;
forwardPorts = [
{
inherit httpPort;
containerPort = httpPort;
hostPort = httpPort;
}
{
containerPort = sshPort;
@ -45,10 +45,9 @@ in {
config = { config, pkgs, lib, ... }: {
system.stateVersion = "22.05";
services.gitea = {
inherit domain httpPort;
enable = true;
domain = domain;
rootUrl = baseurl;
httpPort = httpPort;
disableRegistration = true;
stateDir = path;
settings = {

View file

@ -23,9 +23,9 @@ in {
}];
config = { config, pkgs, ... }:
let
root = config.services.tt-rss.root;
pool = config.services.tt-rss.pool;
in rec {
inherit (config.services.tt-rss) pool;
inherit (config.services.tt-rss) root;
in {
system.stateVersion = "22.05";
services.tt-rss = {
enable = true;
@ -38,8 +38,8 @@ in {
virtualHosts = {
"${domain}" = {
listen = [{
inherit port;
addr = "0.0.0.0";
port = port;
}];
root = "${root}/www";
locations."/" = { index = "index.php"; };

View file

@ -10,7 +10,7 @@
services.fprintd = { enable = true; };
home-manager.users.cyryl = { ... }: {
home-manager.users.cyryl = { _ }: {
home.packages = with pkgs; [ firefox vim gnome3.gedit git ];
};

View file

@ -2,9 +2,9 @@
{
sops.secrets.openweathermap-api-key = {
inherit (config.users.users.cyryl) group;
mode = "0440";
owner = config.users.users.cyryl.name;
group = config.users.users.cyryl.group;
sopsFile = ./openweathermap.sops.yaml;
};
home-manager.users.cyryl = { home.sessionVariables = { }; };