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.users = {
|
||||
fossil = {
|
||||
inherit group;
|
||||
description = "Fossil Service";
|
||||
home = path;
|
||||
useDefaultShell = true;
|
||||
group = group;
|
||||
isSystemUser = true;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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"; };
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
|
||||
|
|
|
@ -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 = { }; };
|
||||
|
|
Loading…
Reference in a new issue