This commit is contained in:
Tao Tien 2023-11-08 16:37:18 -08:00
parent a61c11d2cb
commit aa25b68e52
4 changed files with 19 additions and 4 deletions

View file

@ -79,6 +79,18 @@
shell = pkgs.unstable.nushell;
};
security.sudo = {
extraRules = [{
commands = [
{
command = "${pkgs.systemd}/bin/bootctl set-oneshot auto-windows";
options = [ "NOPASSWD" ];
}
];
groups = [ "wheel" ];
}];
};
# i18n.inputMethod = {
# enabled = "fcitx5";
# fcitx5.addons = with pkgs; [ fcitx5-mozc fcitx5-chewing fcitx5-chinese-addons fcitx5-rime ];