Merge branch 'main' into feat/mac-setup
This commit is contained in:
commit
0c6bd23313
2 changed files with 24 additions and 7 deletions
|
|
@ -76,6 +76,7 @@
|
|||
jellyfin
|
||||
jellyfin-web
|
||||
jellyfin-ffmpeg
|
||||
usbutils
|
||||
];
|
||||
|
||||
# Programs
|
||||
|
|
@ -85,6 +86,23 @@
|
|||
enableSSHSupport = true;
|
||||
};
|
||||
|
||||
# UPS
|
||||
power.ups = {
|
||||
enable = true;
|
||||
|
||||
ups."eaton-ups" = {
|
||||
driver = "usbhid-ups";
|
||||
port = "auto";
|
||||
};
|
||||
|
||||
users.upsmon = {
|
||||
passwordFile = "/etc/upsmon.passwd";
|
||||
upsmon = "primary";
|
||||
};
|
||||
|
||||
upsmon.monitor."eaton-ups".user = "upsmon";
|
||||
};
|
||||
|
||||
# Services
|
||||
# SSH
|
||||
services.openssh = {
|
||||
|
|
@ -106,7 +124,6 @@
|
|||
# Samba
|
||||
services.samba = {
|
||||
enable = true;
|
||||
securityType = "user";
|
||||
openFirewall = true;
|
||||
settings = {
|
||||
global = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue