formatting.
This commit is contained in:
parent
6d8560149f
commit
a0ba016d28
3 changed files with 8 additions and 9 deletions
|
|
@ -31,8 +31,8 @@ in {
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
services.localtimed.enable= config.host.details.isLaptop;
|
services.localtimed.enable = config.host.details.isLaptop;
|
||||||
services.geoclue2.enable=true;
|
services.geoclue2.enable = true;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
|
||||||
|
|
@ -4,14 +4,14 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:let
|
}: let
|
||||||
cfg = config.services.homebox;
|
cfg = config.services.homebox;
|
||||||
in {
|
in {
|
||||||
services.homebox={
|
services.homebox = {
|
||||||
enable=true;
|
enable = true;
|
||||||
settings={
|
settings = {
|
||||||
HBOX_OPTIONS_TRUST_PROXY = "true";
|
HBOX_OPTIONS_TRUST_PROXY = "true";
|
||||||
HBOX_OPTIONS_HOSTNAME="inventory.venberg.xyz";
|
HBOX_OPTIONS_HOSTNAME = "inventory.venberg.xyz";
|
||||||
HBOX_OPTIONS_CHECK_GITHUB_RELEASE = "false";
|
HBOX_OPTIONS_CHECK_GITHUB_RELEASE = "false";
|
||||||
HBOX_OPTIONS_ALLOW_REGISTRATION = "false";
|
HBOX_OPTIONS_ALLOW_REGISTRATION = "false";
|
||||||
HBOX_MODE = "production";
|
HBOX_MODE = "production";
|
||||||
|
|
@ -26,5 +26,4 @@ in {
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
#TODO: use xss-lock
|
#TODO: use xss-lock
|
||||||
systemd.services.betterlockscreen = {
|
systemd.services.betterlockscreen = {
|
||||||
enable = true;
|
enable = true;
|
||||||
description = "Locks screen when going to sleep/suspend";
|
description = "Locks screen when going to sleep/suspend";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue