hyprlock
Some checks failed
Lint / lint (push) Has been cancelled

This commit is contained in:
Vivian 2024-12-27 14:38:41 +01:00
parent c9fb02840b
commit 8413ab2e0f
2 changed files with 137 additions and 39 deletions

View file

@ -6,7 +6,6 @@
inputs,
lib,
pkgs,
modulesPath,
...
}:
{
@ -24,8 +23,6 @@
users.users.vivian.extraGroups = [ "adbusers" ];
services.flatpak.enable = true;
# Bootloader.
boot = {
kernelParams = [
@ -48,36 +45,44 @@
};
home-manager.users.vivian = import ./home;
programs = {
nix-ld.enable = true;
nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages
];
# here, NOT in environment.systemPackages
];
programs.hyprland = {
enable = true;
withUWSM = true;
hyprland = {
enable = true;
withUWSM = true;
};
hyprlock.enable = true;
};
services.gnome.gnome-keyring.enable = true;
services = {
hypridle.enable = true;
services.ollama = {
enable = true;
acceleration = "rocm";
rocmOverrideGfx = "10.3.4";
};
flatpak.enable = true;
services.interception-tools = {
enable = true;
plugins = [ pkgs.interception-tools-plugins.caps2esc ];
udevmonConfig = ''
- JOB: "${pkgs.interception-tools}/bin/intercept -g $DEVNODE | ${pkgs.interception-tools-plugins.caps2esc}/bin/caps2esc | ${pkgs.interception-tools}/bin/uinput -d $DEVNODE"
DEVICE:
EVENTS:
EV_KEY: [KEY_CAPSLOCK, KEY_ESC]
'';
gnome.gnome-keyring.enable = true;
ollama = {
enable = true;
acceleration = "rocm";
rocmOverrideGfx = "10.3.4";
};
interception-tools = {
enable = true;
plugins = [ pkgs.interception-tools-plugins.caps2esc ];
udevmonConfig = ''
- JOB: "${pkgs.interception-tools}/bin/intercept -g $DEVNODE | ${pkgs.interception-tools-plugins.caps2esc}/bin/caps2esc | ${pkgs.interception-tools}/bin/uinput -d $DEVNODE"
DEVICE:
EVENTS:
EV_KEY: [KEY_CAPSLOCK, KEY_ESC]
'';
};
};
# Enable Ozone rendering for Chromium and Electron apps.