1

feat: add myself to uinput

This commit is contained in:
Himadri Bhattacharjee
2024-02-19 17:28:24 +05:30
parent 6d1bf8361c
commit b77951c8c3
2 changed files with 9 additions and 8 deletions

View File

@@ -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 "$@"'')
];

6
flake.lock generated
View File

@@ -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": {