From b37edeed36a48c2dae1a274b561f0e48809b8342 Mon Sep 17 00:00:00 2001 From: kenji Date: Tue, 1 Jul 2025 08:55:17 -0500 Subject: [PATCH] major changes --- system/amd.nix | 8 ++++++++ system/dev/tools.nix | 1 + system/graphics.nix | 5 ----- system/hardware.nix | 7 +++++++ system/sound.nix | 5 ++++- system/users.nix | 2 +- 6 files changed, 21 insertions(+), 7 deletions(-) diff --git a/system/amd.nix b/system/amd.nix index f3ede6d..e4f87de 100644 --- a/system/amd.nix +++ b/system/amd.nix @@ -2,5 +2,13 @@ environment.systemPackages = with pkgs; [ glxinfo vulkan-tools + lact ]; + systemd.packages = with pkgs; [ + lact + ]; + systemd.services.lactd = { + enable = true; + wantedBy = ["multi-user.target"]; + }; } diff --git a/system/dev/tools.nix b/system/dev/tools.nix index 5ced7da..6ed6cfd 100644 --- a/system/dev/tools.nix +++ b/system/dev/tools.nix @@ -5,5 +5,6 @@ tldr jq btop + rar ]; } diff --git a/system/graphics.nix b/system/graphics.nix index 0e126af..b822269 100644 --- a/system/graphics.nix +++ b/system/graphics.nix @@ -3,9 +3,4 @@ enable = true; enable32Bit = true; # Crucial for 32-bit games }; - programs.corectrl = { - enable = true; - }; - systemd.packages = with pkgs; [corectrl]; - systemd.services.corectrl.wantedBy = ["multi-user.target"]; } diff --git a/system/hardware.nix b/system/hardware.nix index 3764428..4d82c36 100644 --- a/system/hardware.nix +++ b/system/hardware.nix @@ -1,6 +1,7 @@ { myConfig, pkgs, + lib, ... }: { hardware = { @@ -10,4 +11,10 @@ powerOnBoot = true; }; }; + environment.systemPackages = with pkgs; + [ + ] + ++ lib.optionals (myConfig.linux.logitech-hardware.enable == true) [ + solaar + ]; } diff --git a/system/sound.nix b/system/sound.nix index 64a39b6..833819c 100644 --- a/system/sound.nix +++ b/system/sound.nix @@ -1,4 +1,7 @@ -{ +{pkgs, ...}: { + environment.systemPackages = [ + pkgs.pavucontrol + ]; services.pipewire = { enable = true; alsa.enable = true; diff --git a/system/users.nix b/system/users.nix index b77bc8b..7bd733d 100644 --- a/system/users.nix +++ b/system/users.nix @@ -8,7 +8,7 @@ users = { ${myConfig.general.Username} = { isNormalUser = true; - extraGroups = ["wheel" "networkmanager" "input"]; + extraGroups = ["wheel" "networkmanager" "input" "corectrl" "video"]; initialHashedPassword = "$y$j9T$NHFtSwF4NJtEmgMjy4Xdg.$9WQltjEx3eEfZ7GbpGLW8lBhJtiXPOeIawrxdmx0.vB"; useDefaultShell = true; packages = [