hmm
This commit is contained in:
@@ -74,6 +74,9 @@
|
||||
inkscape = {
|
||||
enable = false;
|
||||
};
|
||||
lact = {
|
||||
enable = true;
|
||||
};
|
||||
lutris = {
|
||||
enable = false;
|
||||
};
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
./nixos/programs/gnome
|
||||
./nixos/programs/hyprland
|
||||
./nixos/programs/inkscape
|
||||
./nixos/programs/lact
|
||||
./nixos/programs/lutris
|
||||
./nixos/programs/microfetch
|
||||
./nixos/programs/pkgs
|
||||
|
||||
@@ -80,6 +80,7 @@ in {
|
||||
|
||||
# AMD-specific configuration
|
||||
(mkIf (vendor == "amd") {
|
||||
hardware.amdgpu.overdrive.enable = true;
|
||||
hardware.graphics.extraPackages = commonPackages ++ mesaVulkanPackages;
|
||||
hardware.graphics.extraPackages32 = commonPackages32;
|
||||
environment.systemPackages = tools;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption mkMerge;
|
||||
@@ -67,6 +68,7 @@ in {
|
||||
"$mod SHIFT, 8, movetoworkspace, 8"
|
||||
"$mod SHIFT, 9, movetoworkspace, 9"
|
||||
"$mod SHIFT, 0, movetoworkspace, 10"
|
||||
"CTRL SHIFT, Escape, exec, ${runOnce "missioncenter"}"
|
||||
|
||||
",XF86AudioLowerVolume, exec, volume-control.sh --dec"
|
||||
",XF86AudioRaiseVolume, exec, volume-control.sh --inc"
|
||||
|
||||
@@ -32,6 +32,11 @@ in {
|
||||
"move 100%-w-20 40, 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 ===
|
||||
"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
|
||||
fd
|
||||
libqalculate
|
||||
(python3.withPackages (ps:
|
||||
with ps; [
|
||||
pip
|
||||
materialyoucolor
|
||||
aubio
|
||||
sounddevice
|
||||
pyaudio
|
||||
numpy
|
||||
]))
|
||||
|
||||
mission-center
|
||||
git
|
||||
stow
|
||||
tree
|
||||
@@ -80,6 +71,7 @@ in {
|
||||
winetricks
|
||||
wine
|
||||
geekbench
|
||||
unigine-heaven
|
||||
])
|
||||
|
||||
(mkIf cfg.laptop.enable [
|
||||
|
||||
Reference in New Issue
Block a user