hypr config

This commit is contained in:
Keisuke Hirata 2026-01-04 00:30:45 +09:00
parent 8cacd2eea4
commit 5c2ed26f69
3 changed files with 7 additions and 3 deletions

View File

@ -40,7 +40,6 @@
}; };
natural_scroll = true; natural_scroll = true;
sensitivity = -1.0;
}; };
general = { general = {

View File

@ -1,11 +1,10 @@
{ pkgs, inputs, ... }: { pkgs, inputs, lib, ... }:
{ {
home.stateVersion = "25.05"; home.stateVersion = "25.05";
imports = [ imports = [
../../home-manager/hyprland.nix ../../home-manager/hyprland.nix
../../home-manager/hyprland-theme-thin.nix ../../home-manager/hyprland-theme-thin.nix
../../home-manager/tofi.nix ../../home-manager/tofi.nix
../../home-manager/direnv.nix ../../home-manager/direnv.nix
../../home-manager/obs-studio.nix ../../home-manager/obs-studio.nix
@ -44,6 +43,8 @@
}; };
}; };
wayland.windowManager.hyprland.settings.input.sensitivity = -0.5;
xdg.mimeApps = { xdg.mimeApps = {
enable = true; enable = true;

View File

@ -60,6 +60,10 @@ in
]; ];
networking.firewall.allowedUDPPorts = [ ]; networking.firewall.allowedUDPPorts = [ ];
services.openvpn.servers = {
homeVPN = { config = '' config /root/nixos/openvpn/homeVPN.conf ''; };
};
services.udev.extraRules = '' services.udev.extraRules = ''
ATTRS{idVendor}=="3151", ATTRS{idProduct}=="502d", MODE="0777" ATTRS{idVendor}=="3151", ATTRS{idProduct}=="502d", MODE="0777"
ATTRS{idVendor}=="414", ATTRS{idProduct}=="211a", MODE="0777" ATTRS{idVendor}=="414", ATTRS{idProduct}=="211a", MODE="0777"