diff --git a/flake.lock b/flake.lock index 8d4c7c7..b245ad6 100644 --- a/flake.lock +++ b/flake.lock @@ -45,11 +45,11 @@ ] }, "locked": { - "lastModified": 1722347739, - "narHash": "sha256-rAoh+K6KG+b1DwSWtqRVocdojnH6nGk6q07mNltoUSM=", + "lastModified": 1723405438, + "narHash": "sha256-bpmC2m7OhlDvqgQZdZ2jBLyeIkq/Jld3X4bqRAxBSp8=", "owner": "hyprwm", "repo": "aquamarine", - "rev": "7c3565f9bedc7cb601cc0baa14792247e4dc1d5a", + "rev": "9312aa28271c91e5d67ecb9def527b2bbcff0e66", "type": "github" }, "original": { @@ -531,11 +531,11 @@ ] }, "locked": { - "lastModified": 1721330371, - "narHash": "sha256-aYlHTWylczLt6ERJyg6E66Y/XSCbVL7leVcRuJmVbpI=", + "lastModified": 1722623071, + "narHash": "sha256-sLADpVgebpCBFXkA1FlCXtvEPu1tdEsTfqK1hfeHySE=", "owner": "hyprwm", "repo": "hyprcursor", - "rev": "4493a972b48f9c3014befbbf381ed5fff91a65dc", + "rev": "912d56025f03d41b1ad29510c423757b4379eb1c", "type": "github" }, "original": { @@ -558,11 +558,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1723215081, - "narHash": "sha256-HVaAneYjMwsXXpbxDVmk+G2h1uQvAhog3QxZGuVDbX8=", + "lastModified": 1723799341, + "narHash": "sha256-OOwAjqHy/lC+rHZrWDIF2w0oppVxCP48lPDhyNNZ5HQ=", "ref": "refs/heads/main", - "rev": "fd1d4e288edd586a3d5273cda053a51f5b14cad7", - "revCount": 5072, + "rev": "1840a907a8c6b1f59cfa6738a8f46b320e8df8b1", + "revCount": 5097, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -641,11 +641,11 @@ ] }, "locked": { - "lastModified": 1722098849, - "narHash": "sha256-D3wIZlBNh7LuZ0NaoCpY/Pvu+xHxIVtSN+KkWZYvvVs=", + "lastModified": 1722869141, + "narHash": "sha256-0KU4qhyMp441qfwbirNg3+wbm489KnEjXOz2I/RbeFs=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "5dcbbc1e3de40b2cecfd2007434d86e924468f1f", + "rev": "0252fd13e78e60fb0da512a212e56007515a49f7", "type": "github" }, "original": { @@ -829,11 +829,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1722813957, - "narHash": "sha256-IAoYyYnED7P8zrBFMnmp7ydaJfwTnwcnqxUElC1I26Y=", + "lastModified": 1723637854, + "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", "owner": "nixos", "repo": "nixpkgs", - "rev": "cb9a96f23c491c081b38eab96d22fa958043c9fa", + "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", "type": "github" }, "original": { diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index 6b99a68..2df23f5 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -78,6 +78,15 @@ in { 0; # -1.0 - 1.0, 0 means no modification. }; + cursor = { + no_hardware_cursors = true; + }; + + render = { + explicit_sync = 1; + explicit_sync_kms = 0; + }; + general = { # See https://wiki.hyprland.org/Configuring/Variables diff --git a/home-manager/nixvim/lsp.nix b/home-manager/nixvim/lsp.nix index 402cafc..3652301 100644 --- a/home-manager/nixvim/lsp.nix +++ b/home-manager/nixvim/lsp.nix @@ -20,7 +20,7 @@ enable = true; package = pkgs.stable.csharp-ls; }; - typst-lsp.enable = true; + #typst-lsp.enable = true; }; keymaps.lspBuf = { gd = { diff --git a/modules/graphical/games.nix b/modules/graphical/games.nix index ff48fe7..5753d2b 100644 --- a/modules/graphical/games.nix +++ b/modules/graphical/games.nix @@ -1,19 +1,18 @@ -{config, lib, pkgs, ...}: +{ config, lib, pkgs, ... }: with lib; -let - cfg = config.custom.graphical.games; -in -{ - options.custom.graphical.games = { - enable = mkEnableOption "Enables games"; - }; - +let cfg = config.custom.graphical.games; +in { + options.custom.graphical.games = { enable = mkEnableOption "Enables games"; }; + config = mkIf cfg.enable { programs.steam = { enable = true; - remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play - dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server + remotePlay.openFirewall = + true; # Open ports in the firewall for Steam Remote Play + dedicatedServer.openFirewall = + true; # Open ports in the firewall for Source Dedicated Server gamescopeSession.enable = true; + extraCompatPackages = with pkgs; [ proton-ge-bin ]; }; environment.systemPackages = with pkgs; [ taisei @@ -23,7 +22,7 @@ in lutris mangohud prismlauncher - tetrio-desktop + #tetrio-desktop #fuck you osk #libs ]; }; diff --git a/modules/graphical/noise-supression.nix b/modules/graphical/noise-supression.nix index e215a24..b9a3886 100644 --- a/modules/graphical/noise-supression.nix +++ b/modules/graphical/noise-supression.nix @@ -9,7 +9,7 @@ in config = lib.mkIf cfg.enable { environment.systemPackages = with pkgs; [ - easyeffects + #easyeffects #rust build broken atm ]; }; } diff --git a/overlays.nix b/overlays.nix index 82f9585..f22ebe5 100644 --- a/overlays.nix +++ b/overlays.nix @@ -18,6 +18,19 @@ inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland; xdg-desktop-portal-hyprland = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; + delta = prev.delta.overrideAttrs (oldAttrs: rec { + version = "0.17.0-unstable-2024-08-12"; + src = prev.fetchFromGitHub { + owner = "dandavison"; + repo = "delta"; + rev = "a01141b72001f4c630d77cf5274267d7638851e4"; + hash = "sha256-My51pQw5a2Y2VTu39MmnjGfmCavg8pFqOmOntUildS0="; + }; + cargoDeps = oldAttrs.cargoDeps.overrideAttrs { + inherit src; + outputHash = "sha256-TJ/yLt53hKElylycUfGV8JGt7GzqSnIO3ImhZvhVQu0="; + }; + }); # .png doesnt work :( #fastfetch = prev.fastfetch.overrideAttrs (oldAttrs: {