Cleanup
This commit is contained in:
parent
70f0c6118e
commit
e9cdacbfc8
20 changed files with 142 additions and 310 deletions
|
|
@ -4,15 +4,6 @@
|
|||
settings.global = {
|
||||
address = wildcard;
|
||||
port = port.conduit;
|
||||
# TODO: Use secret file when possible
|
||||
turn_secret = "84EoJSEVnlH@eiqqV7K!2vmAr^G";
|
||||
turn_uris = let
|
||||
coturn-realm = "turn.${domain}";
|
||||
in [
|
||||
"turn:${coturn-realm}:${toString port.coturn-tls}?transport=udp"
|
||||
"turn:${coturn-realm}:${toString port.coturn-tls}?transport=tcp"
|
||||
];
|
||||
turn_user_lifetime = "1h";
|
||||
server_name = domain;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,16 +1,17 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running `nixos-help`).
|
||||
{...}: {
|
||||
{pkgs, ...}: {
|
||||
# Configure boot loader
|
||||
boot.loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot.enable = true;
|
||||
boot = {
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
loader = {
|
||||
efi.canTouchEfiVariables = true;
|
||||
systemd-boot.enable = true;
|
||||
};
|
||||
tmp.cleanOnBoot = true;
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It's perfectly fine and recommended to leave
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
{...}: {
|
||||
boot.loader.grub.zfsSupport = true;
|
||||
{pkgs, ...}: {
|
||||
boot = {
|
||||
loader.grub.zfsSupport = true;
|
||||
zfs.package = pkgs.zfs_unstable;
|
||||
};
|
||||
|
||||
services.zfs = {
|
||||
autoScrub.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue