From 5a37c61562544bc20ad6a349597253c0f67e1f0a Mon Sep 17 00:00:00 2001 From: cnst Date: Mon, 15 Jul 2024 22:47:43 +0200 Subject: [PATCH] fixing shit --- flake.lock | 30 ----------------- home/core/services/hypr/lock/default.nix | 36 +++++++++++---------- nixos/extra/corectrl/default.nix | 9 ++++++ nixos/extra/gaming.nix | 1 + nixos/hosts/cnix/hardware-configuration.nix | 1 - 5 files changed, 29 insertions(+), 48 deletions(-) create mode 100644 nixos/extra/corectrl/default.nix diff --git a/flake.lock b/flake.lock index ec8ac868..2bb81f2c 100644 --- a/flake.lock +++ b/flake.lock @@ -544,35 +544,6 @@ "type": "github" } }, - "hyprpaper": { - "inputs": { - "hyprlang": [ - "hyprland", - "hyprlang" - ], - "nixpkgs": [ - "hyprland", - "nixpkgs" - ], - "systems": [ - "hyprland", - "systems" - ] - }, - "locked": { - "lastModified": 1719939251, - "narHash": "sha256-N58i+BSqmz9n7WKFY0Q8c27NWetyzbJf/1NtJuNEQLg=", - "owner": "hyprwm", - "repo": "hyprpaper", - "rev": "13fcdd79efe439a81d807572cc4b4737abbad918", - "type": "github" - }, - "original": { - "owner": "hyprwm", - "repo": "hyprpaper", - "type": "github" - } - }, "hyprutils": { "inputs": { "nixpkgs": [ @@ -887,7 +858,6 @@ "hypridle": "hypridle", "hyprland": "hyprland", "hyprlock": "hyprlock", - "hyprpaper": "hyprpaper", "lanzaboote": "lanzaboote", "nixpkgs": "nixpkgs_3", "nixpkgs-stable": "nixpkgs-stable_2", diff --git a/home/core/services/hypr/lock/default.nix b/home/core/services/hypr/lock/default.nix index bf27aa3e..27f9501b 100644 --- a/home/core/services/hypr/lock/default.nix +++ b/home/core/services/hypr/lock/default.nix @@ -5,11 +5,13 @@ general = { disable_loading_bar = true; hide_cursor = false; - no_fade_in = true; + no_fade_in = false; }; background = [ { - path = "/src/wallpaper.png"; + color = "rgba(000000FF)"; + monitor = ""; + path = "~/media/images/wallpaper.png"; blur_size = 3; blur_passes = 2; } @@ -32,7 +34,7 @@ hide_input = false; rounding = -1; check_color = "rgb(204, 136, 34)"; - failed_color = "rgb(204, 34, 34)"; + fail_color = "rgb(204, 34, 34)"; } ]; label = [ @@ -49,20 +51,20 @@ halign = "center"; valign = "center"; } - { - # Date - monitor = ""; - text = "cmd[update:1000] echo '$(date -I)'"; - shadow_passes = 1; - shadow_boost = 0.5; - color = "rgba(FFFFFFFF)"; - font_size = 25; - font_family = "Input Mono Compressed"; - - position = "0, 280"; - halign = "center"; - valign = "center"; - } + # { + # # Date + # monitor = ""; + # text = "cmd[update:1000] echo '$(date -I)'"; + # shadow_passes = 1; + # shadow_boost = 0.5; + # color = "rgba(FFFFFFFF)"; + # font_size = 25; + # font_family = "Input Mono Compressed"; + # + # position = "0, 280"; + # halign = "center"; + # valign = "center"; + # } ]; }; }; diff --git a/nixos/extra/corectrl/default.nix b/nixos/extra/corectrl/default.nix new file mode 100644 index 00000000..2d3e601c --- /dev/null +++ b/nixos/extra/corectrl/default.nix @@ -0,0 +1,9 @@ +{ + programs.corectrl = { + enable = true; + gpuOverclock = { + enable = true; + ppfeaturemask = "0xffffffff"; + }; + }; +} diff --git a/nixos/extra/gaming.nix b/nixos/extra/gaming.nix index e90bc253..eba9ec6f 100644 --- a/nixos/extra/gaming.nix +++ b/nixos/extra/gaming.nix @@ -5,6 +5,7 @@ ./bottles ./gamemode ./gamescope + ./corectrl ]; environment = { systemPackages = with pkgs; [ diff --git a/nixos/hosts/cnix/hardware-configuration.nix b/nixos/hosts/cnix/hardware-configuration.nix index 16c85c84..6b48875a 100644 --- a/nixos/hosts/cnix/hardware-configuration.nix +++ b/nixos/hosts/cnix/hardware-configuration.nix @@ -28,7 +28,6 @@ kernelParams = [ "quiet" "splash" - "amdgpu.ppfeaturemask=0xffffffff" ]; extraModulePackages = []; };