hmm
This commit is contained in:
@@ -74,6 +74,9 @@
|
|||||||
inkscape = {
|
inkscape = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
lact = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
lutris = {
|
lutris = {
|
||||||
enable = false;
|
enable = false;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
./nixos/programs/gnome
|
./nixos/programs/gnome
|
||||||
./nixos/programs/hyprland
|
./nixos/programs/hyprland
|
||||||
./nixos/programs/inkscape
|
./nixos/programs/inkscape
|
||||||
|
./nixos/programs/lact
|
||||||
./nixos/programs/lutris
|
./nixos/programs/lutris
|
||||||
./nixos/programs/microfetch
|
./nixos/programs/microfetch
|
||||||
./nixos/programs/pkgs
|
./nixos/programs/pkgs
|
||||||
|
|||||||
@@ -80,6 +80,7 @@ in {
|
|||||||
|
|
||||||
# AMD-specific configuration
|
# AMD-specific configuration
|
||||||
(mkIf (vendor == "amd") {
|
(mkIf (vendor == "amd") {
|
||||||
|
hardware.amdgpu.overdrive.enable = true;
|
||||||
hardware.graphics.extraPackages = commonPackages ++ mesaVulkanPackages;
|
hardware.graphics.extraPackages = commonPackages ++ mesaVulkanPackages;
|
||||||
hardware.graphics.extraPackages32 = commonPackages32;
|
hardware.graphics.extraPackages32 = commonPackages32;
|
||||||
environment.systemPackages = tools;
|
environment.systemPackages = tools;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) mkIf mkEnableOption mkMerge;
|
inherit (lib) mkIf mkEnableOption mkMerge;
|
||||||
@@ -67,6 +68,7 @@ in {
|
|||||||
"$mod SHIFT, 8, movetoworkspace, 8"
|
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||||
"$mod SHIFT, 9, movetoworkspace, 9"
|
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||||
"$mod SHIFT, 0, movetoworkspace, 10"
|
"$mod SHIFT, 0, movetoworkspace, 10"
|
||||||
|
"CTRL SHIFT, Escape, exec, ${runOnce "missioncenter"}"
|
||||||
|
|
||||||
",XF86AudioLowerVolume, exec, volume-control.sh --dec"
|
",XF86AudioLowerVolume, exec, volume-control.sh --dec"
|
||||||
",XF86AudioRaiseVolume, exec, volume-control.sh --inc"
|
",XF86AudioRaiseVolume, exec, volume-control.sh --inc"
|
||||||
|
|||||||
@@ -32,6 +32,11 @@ in {
|
|||||||
"move 100%-w-20 40, class:^(org.keepassxc.KeePassXC)$"
|
"move 100%-w-20 40, class:^(org.keepassxc.KeePassXC)$"
|
||||||
"float, class:^(org.keepassxc.KeePassXC)$"
|
"float, class:^(org.keepassxc.KeePassXC)$"
|
||||||
|
|
||||||
|
# === MISSION-CENTER SETTINGS ===
|
||||||
|
"size 50% 70%, class:^(io.missioncenter.MissionCenter)$"
|
||||||
|
"center, class:^(io.missioncenter.MissionCenter)$"
|
||||||
|
"float, class:^(io.missioncenter.MissionCenter)$"
|
||||||
|
|
||||||
# === SUPPRESS MAXIMIZE EVENT ===
|
# === SUPPRESS MAXIMIZE EVENT ===
|
||||||
"suppressevent maximize, class:.*" # Suppress maximize events for all windows
|
"suppressevent maximize, class:.*" # Suppress maximize events for all windows
|
||||||
|
|
||||||
|
|||||||
28
modules/nixos/programs/lact/default.nix
Normal file
28
modules/nixos/programs/lact/default.nix
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkIf mkEnableOption;
|
||||||
|
cfg = config.nixos.programs.lact;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
nixos.programs.lact.enable = mkEnableOption "Enables lact for GPU monitoring and tweaking";
|
||||||
|
};
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
lact
|
||||||
|
];
|
||||||
|
|
||||||
|
systemd.services.lact = {
|
||||||
|
enable = cfg.enable;
|
||||||
|
description = "GPU Control Daemon";
|
||||||
|
after = ["multi-user.target"];
|
||||||
|
wantedBy = ["multi-user.target"];
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${pkgs.lact}/bin/lact daemon";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -51,16 +51,7 @@ in {
|
|||||||
jq
|
jq
|
||||||
fd
|
fd
|
||||||
libqalculate
|
libqalculate
|
||||||
(python3.withPackages (ps:
|
mission-center
|
||||||
with ps; [
|
|
||||||
pip
|
|
||||||
materialyoucolor
|
|
||||||
aubio
|
|
||||||
sounddevice
|
|
||||||
pyaudio
|
|
||||||
numpy
|
|
||||||
]))
|
|
||||||
|
|
||||||
git
|
git
|
||||||
stow
|
stow
|
||||||
tree
|
tree
|
||||||
@@ -80,6 +71,7 @@ in {
|
|||||||
winetricks
|
winetricks
|
||||||
wine
|
wine
|
||||||
geekbench
|
geekbench
|
||||||
|
unigine-heaven
|
||||||
])
|
])
|
||||||
|
|
||||||
(mkIf cfg.laptop.enable [
|
(mkIf cfg.laptop.enable [
|
||||||
|
|||||||
Reference in New Issue
Block a user