oops. dense commit

This commit is contained in:
Reid 2024-03-11 17:14:43 -07:00
parent 4d0f08a364
commit 4d598a496a
7 changed files with 29 additions and 43 deletions

View file

@ -1,17 +0,0 @@
{ config, lib, pkgs, options, ... }:
with lib;
let
cfg = config.keyboard;
in {
options.keyboard = {
locale = mkOption {
type = types.str;
default = "en_US.UTF-8";
};
variant = mkOption {
type = types.str;
default = "";
};
};
}

View file

@ -49,7 +49,10 @@ in {
};
security = {
# prevents replacing the kernel without a reboot
protectKernelImage = true;
# allows unprivileged processes to speak to privileged processes (ex. nmtui, reboot)
polkit.enable = true;
rtkit.enable = true;
};
} // (mkIf cfg.useDoas {