From aa25b68e52102591e82b17f348ab0eebf10694a2 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Wed, 8 Nov 2023 16:37:18 -0800 Subject: [PATCH] bump --- extras/dev.nix | 4 +++- flake.lock | 6 +++--- systems/BASED.nix | 1 + users/tao.nix | 12 ++++++++++++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/extras/dev.nix b/extras/dev.nix index 683e163..246d2c5 100644 --- a/extras/dev.nix +++ b/extras/dev.nix @@ -1,5 +1,8 @@ { pkgs, ... }: { environment.systemPackages = with pkgs; [ + # unstable.swagger-cli + # swagger-codegen + openapi-generator-cli bacon clang clang-tools @@ -28,7 +31,6 @@ nixpkgs.config.permittedInsecurePackages = [ "electron-12.2.3" - # "electron-24.8.6" ]; services.udev.extraRules = '' diff --git a/flake.lock b/flake.lock index 10354ec..391de77 100644 --- a/flake.lock +++ b/flake.lock @@ -119,11 +119,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1699169573, - "narHash": "sha256-cvUb1xZkvOp3W2SzylStrTirhVd9zCeo5utJl9nSIhw=", + "lastModified": 1699291058, + "narHash": "sha256-5ggduoaAMPHUy4riL+OrlAZE14Kh7JWX4oLEs22ZqfU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "aeefe2054617cae501809b82b44a8e8f7be7cc4b", + "rev": "41de143fda10e33be0f47eab2bfe08a50f234267", "type": "github" }, "original": { diff --git a/systems/BASED.nix b/systems/BASED.nix index 72183eb..5e01e45 100644 --- a/systems/BASED.nix +++ b/systems/BASED.nix @@ -1,5 +1,6 @@ { lib, pkgs, modulesPath, ... }: { environment.systemPackages = with pkgs; [ + libthai bat bottom cifs-utils diff --git a/users/tao.nix b/users/tao.nix index 0dcd3c2..db6e1ba 100644 --- a/users/tao.nix +++ b/users/tao.nix @@ -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 ];