This commit is contained in:
2025-07-03 19:08:17 +02:00
parent 096ea286fe
commit 0e8b93caa8
7 changed files with 42 additions and 10 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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"

View File

@@ -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

View 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";
};
};
};
}

View File

@@ -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 [