assorted: hosts/common: remove unused module parameters

This commit is contained in:
2024-09-01 15:49:15 +00:00
parent 336696bb06
commit 942ca82445
7 changed files with 7 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
imports = [ imports = [
./boot.nix ./boot.nix

View File

@@ -2,7 +2,7 @@
# - x-systemd options: <https://www.freedesktop.org/software/systemd/man/systemd.mount.html> # - x-systemd options: <https://www.freedesktop.org/software/systemd/man/systemd.mount.html>
# - fuse options: `man mount.fuse` # - fuse options: `man mount.fuse`
{ config, lib, pkgs, sane-lib, utils, ... }: { config, lib, utils, ... }:
let let
fsOpts = rec { 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) # 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; 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. programs.fuse.userAllowOther = true; #< necessary for `allow_other` or `allow_root` options.
} }

View File

@@ -1,4 +1,4 @@
{ lib, ... }: { ... }:
{ {
imports = [ imports = [

View File

@@ -5,7 +5,7 @@
# - generate config @ OVPN.com # - generate config @ OVPN.com
# - copy the Address, PublicKey, Endpoint from OVPN's config # - copy the Address, PublicKey, Endpoint from OVPN's config
{ config, lib, pkgs, ... }: { config, lib, ... }:
let let
# N.B.: OVPN issues each key (i.e. device) a different IP (addrV4), and requires you use it. # 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. # the IP it issues can be used to connect to any of their VPNs.

View File

@@ -1,4 +1,4 @@
{ config, lib, sane-lib, ... }: { config, lib, ... }:
let let
hostKeys = lib.mapAttrsToList hostKeys = lib.mapAttrsToList

View File

@@ -1,4 +1,4 @@
{ config, pkgs, lib, sane-lib, ... }: { pkgs, ... }:
let let
libcapForPam = pkgs.libcap; libcapForPam = pkgs.libcap;

View File

@@ -1,4 +1,4 @@
{ config, ... }: { ... }:
{ {
sane.persist.sys.byStore.ephemeral = [ sane.persist.sys.byStore.ephemeral = [
# when running commands as root, some things may create ~/.cache entries. # when running commands as root, some things may create ~/.cache entries.