assorted: hosts/common: remove unused module parameters
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./boot.nix
|
||||
|
@@ -2,7 +2,7 @@
|
||||
# - x-systemd options: <https://www.freedesktop.org/software/systemd/man/systemd.mount.html>
|
||||
# - fuse options: `man mount.fuse`
|
||||
|
||||
{ config, lib, pkgs, sane-lib, utils, ... }:
|
||||
{ config, lib, utils, ... }:
|
||||
|
||||
let
|
||||
fsOpts = rec {
|
||||
@@ -346,12 +346,6 @@ lib.mkMerge [
|
||||
# but it decreases working memory under the heaviest of loads by however much space the compressed memory occupies (e.g. 50% if 2:1; 25% if 4:1)
|
||||
zramSwap.memoryPercent = 100;
|
||||
|
||||
# environment.pathsToLink = [
|
||||
# # needed to achieve superuser access for user-mounted filesystems (see sshRoot above)
|
||||
# # we can only link whole directories here, even though we're only interested in pkgs.openssh
|
||||
# "/libexec"
|
||||
# ];
|
||||
|
||||
programs.fuse.userAllowOther = true; #< necessary for `allow_other` or `allow_root` options.
|
||||
}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ lib, ... }:
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@@ -5,7 +5,7 @@
|
||||
# - generate config @ OVPN.com
|
||||
# - copy the Address, PublicKey, Endpoint from OVPN's config
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
# N.B.: OVPN issues each key (i.e. device) a different IP (addrV4), and requires you use it.
|
||||
# the IP it issues can be used to connect to any of their VPNs.
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ config, lib, sane-lib, ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
hostKeys = lib.mapAttrsToList
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, sane-lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
libcapForPam = pkgs.libcap;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
sane.persist.sys.byStore.ephemeral = [
|
||||
# when running commands as root, some things may create ~/.cache entries.
|
||||
|
Reference in New Issue
Block a user