From 5c2ed26f6913475c93a7bfd4fab7a06a1cc08c08 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 4 Jan 2026 00:30:45 +0900 Subject: [PATCH] hypr config --- home-manager/hyprland.nix | 1 - hosts/x1carbon/home-manager.nix | 5 +++-- hosts/x1carbon/nixos.nix | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index e61a03e..bc062b6 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -40,7 +40,6 @@ }; natural_scroll = true; - sensitivity = -1.0; }; general = { diff --git a/hosts/x1carbon/home-manager.nix b/hosts/x1carbon/home-manager.nix index c72d282..c8372f3 100644 --- a/hosts/x1carbon/home-manager.nix +++ b/hosts/x1carbon/home-manager.nix @@ -1,11 +1,10 @@ -{ pkgs, inputs, ... }: +{ pkgs, inputs, lib, ... }: { home.stateVersion = "25.05"; imports = [ ../../home-manager/hyprland.nix ../../home-manager/hyprland-theme-thin.nix - ../../home-manager/tofi.nix ../../home-manager/direnv.nix ../../home-manager/obs-studio.nix @@ -44,6 +43,8 @@ }; }; + wayland.windowManager.hyprland.settings.input.sensitivity = -0.5; + xdg.mimeApps = { enable = true; diff --git a/hosts/x1carbon/nixos.nix b/hosts/x1carbon/nixos.nix index 3fb0a7c..5223ae0 100644 --- a/hosts/x1carbon/nixos.nix +++ b/hosts/x1carbon/nixos.nix @@ -60,6 +60,10 @@ in ]; networking.firewall.allowedUDPPorts = [ ]; + services.openvpn.servers = { + homeVPN = { config = '' config /root/nixos/openvpn/homeVPN.conf ''; }; + }; + services.udev.extraRules = '' ATTRS{idVendor}=="3151", ATTRS{idProduct}=="502d", MODE="0777" ATTRS{idVendor}=="414", ATTRS{idProduct}=="211a", MODE="0777"