This isn't available yet
This commit is contained in:
parent
a3ac26c935
commit
699a0fc71a
1 changed files with 25 additions and 7 deletions
|
|
@ -46,14 +46,14 @@
|
|||
|
||||
# Configure keymap in X11
|
||||
services = {
|
||||
apcupsd = {
|
||||
enable = true;
|
||||
# apcupsd = {
|
||||
# enable = true;
|
||||
|
||||
configText = ''
|
||||
UPSTYPE usb
|
||||
NISIP 127.0.0.1
|
||||
'';
|
||||
};
|
||||
# configText = ''
|
||||
# UPSTYPE usb
|
||||
# NISIP 127.0.0.1
|
||||
# '';
|
||||
# };
|
||||
|
||||
xserver = {
|
||||
layout = "us";
|
||||
|
|
@ -61,6 +61,24 @@
|
|||
};
|
||||
};
|
||||
|
||||
# power.ups = {
|
||||
# enable = true;
|
||||
# mode = "netserver";
|
||||
|
||||
# ups."rack_ups" = {
|
||||
# driver = "usbhid-ups";
|
||||
# port = "auto";
|
||||
# description = "Server UPS";
|
||||
# };
|
||||
|
||||
# users.upsmon = {
|
||||
# passwordFile = "/path/to/upsmon.password";
|
||||
# upsmon = "master";
|
||||
# };
|
||||
|
||||
# upsmon.monitor."rack_ups".user = "upsmon";
|
||||
# };
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.benson = {
|
||||
isNormalUser = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue