Personal Nix setup
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update accel and proton settings

+15 -45
+5 -5
flake.lock
··· 1093 1093 }, 1094 1094 "locked": { 1095 1095 "dir": "nix", 1096 - "lastModified": 1766418762, 1097 - "narHash": "sha256-TMEwb+kecsxOqFt3czzUWYOP+f154hZT2jXChmbjhAY=", 1098 - "owner": "AndyFilter", 1096 + "lastModified": 1767535906, 1097 + "narHash": "sha256-vWfL353H1wU7EkISZOTjhSZhlRkXgVz0szl81uOU2n8=", 1098 + "owner": "kitten", 1099 1099 "repo": "yeetmouse", 1100 - "rev": "4e3247a4b0ae76bc2af5b8826febed8aeef8a742", 1100 + "rev": "9753ce8918a91273c8fae5a60a2127e196178ded", 1101 1101 "type": "github" 1102 1102 }, 1103 1103 "original": { 1104 1104 "dir": "nix", 1105 - "owner": "AndyFilter", 1105 + "owner": "kitten", 1106 1106 "repo": "yeetmouse", 1107 1107 "type": "github" 1108 1108 }
+1 -1
flake.nix
··· 55 55 }; 56 56 57 57 yeetmouse = { 58 - url = "github:AndyFilter/yeetmouse?dir=nix"; 58 + url = "github:kitten/yeetmouse?dir=nix"; 59 59 inputs.nixpkgs.follows = "nixpkgs"; 60 60 }; 61 61
+1 -31
modules/apps/games.nix
··· 11 11 description = "Whether to enable games."; 12 12 type = types.bool; 13 13 }; 14 - 15 - hdr = mkOption { 16 - default = cfg.games.enable; 17 - example = true; 18 - description = "Whether to enable HDR."; 19 - type = types.bool; 20 - }; 21 14 }; 22 15 23 16 config = mkIf (cfg.enable && cfg.games.enable) { ··· 28 21 29 22 environment.sessionVariables = { 30 23 PROTONPATH = "${pkgs.proton-ge-bin.steamcompattool}/"; 24 + PROTON_ENABLE_WAYLAND = mkDefault 1; 31 25 PROTON_USE_NTSYNC = mkDefault 1; 32 26 }; 33 27 ··· 50 44 51 45 programs = { 52 46 gamemode.enable = true; 53 - gamescope = { 54 - enable = true; 55 - package = pkgs.gamescope.overrideAttrs (old: { 56 - enableWsi = true; 57 - enableExecutable = true; 58 - NIX_CFLAGS_COMPILE = [ "-fno-fast-math" "-fno-omit-frame-pointer" ]; 59 - }); 60 - env = { 61 - PROTON_ENABLE_WAYLAND = "1"; 62 - }; 63 - args = [ 64 - "--backend" "wayland" 65 - "--adaptive-sync" 66 - "--expose-wayland" 67 - "--immediate-flips" 68 - "--force-grab-cursor" 69 - "--rt" 70 - "-f" 71 - "-S" "fit" 72 - "-W" "2560" 73 - "-H" "1440" 74 - "-r" "360" 75 - ]; 76 - }; 77 47 steam = { 78 48 enable = true; 79 49 package = pkgs.steam.override {
+8 -8
modules/desktop/rawaccel.nix
··· 17 17 hardware.yeetmouse = { 18 18 enable = true; 19 19 sensitivity = 0.56; 20 - offset = 5.9; 21 - inputCap = 35.0; 22 - preScale = 0.17; 23 - rotation.angle = 3.0; 24 - mode.jump = { 25 - acceleration = 3.97; 26 - midpoint = 4.1; 27 - smoothness = 1.0; 20 + offset = 11.6; 21 + inputCap = 35.4; 22 + preScale = 800.0 / 1600.0; 23 + rotation.angle = 5.0; 24 + mode.classic = { 25 + acceleration = 0.0398 * 1.3333; 26 + exponent = 3.28; 27 + smoothCap = 5.0; 28 28 useSmoothing = true; 29 29 }; 30 30 };