oops. dense commit
This commit is contained in:
parent
4d0f08a364
commit
4d598a496a
7 changed files with 29 additions and 43 deletions
|
@ -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 = "";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue