Remove activity-watcher and add Gamepad support

This commit is contained in:
zuma 2025-05-07 14:32:00 +02:00
parent 416b46e04c
commit f145684e16
4 changed files with 26 additions and 8 deletions

View file

@ -140,10 +140,6 @@
"swww-daemon" # Animated Wallpaper engine
"waybar" # Sweet top bar
# Sleep is needed because otherwise waybar is not initialized
"sleep 1 && aw-qt" # ActivityWatch
"sleep 1 && aw-awatcher" # ActivityWatcher Wayland Watcher
];
};
};

View file

@ -6,6 +6,28 @@
settings = {
vim = {
keymaps = [
# Tab Keymaps
{
key = "<leader>t";
mode = "n";
silent = true;
action = ":tabnew<CR>";
}
{
key = "<Tab>";
mode = "n";
silent = true;
action = ":tabnext<CR>";
}
{
key = "<S-Tab>";
mode = "n";
silent = true;
action = ":tabprevious<CR>";
}
];
useSystemClipboard = true;
lineNumberMode = "number";

View file

@ -203,6 +203,7 @@
eva # calculator
util-linux # Set of system utilities
sshfs # A filesystem to mount drives over ssh
exiftool # We need it for images manipulation
# Languages
php # For hosting Adminer
@ -215,8 +216,6 @@
grim # Screenshot tool
slurp # Useful with grim for screenshotting
swww # Wallpaper engine
activitywatch # Stats on time spent
awatcher # Wayland Idle and window watcher
swaynotificationcenter # Notification daemon and notification center
virtiofsd # Device backend for libvrtd
];
@ -237,6 +236,7 @@
};
};
# KVM VM settings
programs.virt-manager.enable = true;
users.groups.libvirtd.members = ["zuma"];
virtualisation.libvirtd.enable = true;

View file

@ -9,7 +9,7 @@
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.initrd.kernelModules = [ "usbhid" "joydev" "xpad" ]; # usbhid, joydev and xpad are needed in order to use controllers (mine is a PS3 dualshock)
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];