From b77951c8c3de8a6a8e932dd25bc2c968700e80e1 Mon Sep 17 00:00:00 2001 From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:28:24 +0530 Subject: [PATCH] feat: add myself to uinput --- configuration.nix | 11 ++++++----- flake.lock | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/configuration.nix b/configuration.nix index bdee129..88171eb 100644 --- a/configuration.nix +++ b/configuration.nix @@ -71,6 +71,7 @@ xdg.portal.enable = true; sound.enable = true; hardware.pulseaudio.enable = false; + hardware.uinput.enable = true; services = { flatpak.enable = true; # Enable CUPS to print documents. @@ -96,8 +97,6 @@ displayManager = { gdm.enable = true; - autoLogin.enable = true; - autoLogin.user = "h"; }; excludePackages = [ pkgs.xterm ]; desktopManager.xterm.enable = false; @@ -120,7 +119,7 @@ users.users.h = { isNormalUser = true; description = "Himadri Bhattacharjee"; - extraGroups = [ "networkmanager" "wheel" ]; + extraGroups = [ "networkmanager" "wheel" "uinput" ]; packages = with pkgs; let pythonPackages = python311.withPackages(ps: with ps; [ jupyter @@ -145,6 +144,7 @@ ffmpeg ffuf file + fractal gau gcc gh @@ -180,15 +180,14 @@ ollama patchelf conda - picotool pkg-config pwntools pythonPackages qemu qrencode - radare2 rust-analyzer openvpn + openai-whisper-cpp kdenlive rustc rustfmt @@ -201,6 +200,7 @@ ungoogled-chromium wine yt-dlp + ydotool ]; shell = pkgs.fish; }; @@ -272,6 +272,7 @@ wget wifite2 wl-clipboard + # cosmic-workspaces-epoch (writeScriptBin "sudo" ''exec doas "$@"'') ]; diff --git a/flake.lock b/flake.lock index bac5e7a..6c400f1 100644 --- a/flake.lock +++ b/flake.lock @@ -159,11 +159,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1707956935, - "narHash": "sha256-ZL2TrjVsiFNKOYwYQozpbvQSwvtV/3Me7Zwhmdsfyu4=", + "lastModified": 1708118438, + "narHash": "sha256-kk9/0nuVgA220FcqH/D2xaN6uGyHp/zoxPNUmPCMmEE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a4d4fe8c5002202493e87ec8dbc91335ff55552c", + "rev": "5863c27340ba4de8f83e7e3c023b9599c3cb3c80", "type": "github" }, "original": {