mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-14 22:11:45 +02:00
feat: format via 'ls **/*.nix | each { |it| nixfmt $it.name }'
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
{config, ...}: let
|
||||
{ config, ... }:
|
||||
let
|
||||
user = "kuma";
|
||||
dataDir = "/data/apps/uptime-kuma";
|
||||
in {
|
||||
users.groups.${user} = {};
|
||||
in
|
||||
{
|
||||
users.groups.${user} = { };
|
||||
users.users.${user} = {
|
||||
group = user;
|
||||
home = dataDir;
|
||||
@@ -21,7 +23,7 @@ in {
|
||||
uptime-kuma = {
|
||||
hostname = "uptime-kuma";
|
||||
image = "louislam/uptime-kuma:1";
|
||||
ports = ["127.0.0.1:53350:3001"];
|
||||
ports = [ "127.0.0.1:53350:3001" ];
|
||||
# https://github.com/louislam/uptime-kuma/wiki/Environment-Variables
|
||||
environment = {
|
||||
# "PUID" = config.users.users.${user}.uid;
|
||||
|
||||
Reference in New Issue
Block a user