fix: clean-up

This commit is contained in:
Kat Inskip 2023-01-29 15:44:57 -08:00
parent 1ca6189cfd
commit 160be4bd90
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
11 changed files with 13 additions and 41 deletions

View file

@ -5,7 +5,7 @@ inherit (lib.attrsets) mapAttrsToList;
commonUser = {
shell = pkgs.zsh;
openssh.authorizedKeys.keys = concatLists (mapAttrsToList
(name: user:
(_: user:
if elem "wheel" user.extraGroups then
user.openssh.authorizedKeys.keys
else

View file

@ -3,7 +3,7 @@
inherit (std) list;
in {
boot = mkMerge [
({
{
kernel.sysctl = {
"fs.inotify.max_user_watches" = 524288;
"net.core.rmem_max" = 16777216;
@ -20,7 +20,7 @@ in {
tmpOnTmpfs = true;
tmpOnTmpfsSize = "80%";
kernelPackages = mkIf (list.elem "zfs" config.boot.supportedFilesystems) (mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages);
})
}
(mkIf (list.elem "zfs" config.boot.supportedFilesystems) {
kernelPackages = mkDefault config.boot.zfs.package.latestCompatibleLinuxPackages;
zfs.enableUnstable = true;

View file

@ -1,8 +1,4 @@
{ config, lib, pkgs, std, ... }: let
inherit (std) string;
inherit (lib.modules) mkForce;
in
{
_: {
console = {
font = "Tamzen7x14";
earlySetup = true;