This commit is contained in:
alsaiduq-lab 2026-01-01 17:31:40 -07:00
parent 14674eb883
commit 7a098f0027
3 changed files with 0 additions and 42 deletions

View file

@ -1,17 +0,0 @@
{pkgs, ...}: {
home.packages = [pkgs.openrgb-with-all-plugins];
systemd.user.services.openrgb-gui = {
Unit = {
Description = "OpenRGB GUI (daemon)";
After = ["graphical-session.target"];
PartOf = ["graphical-session.target"];
};
Service = {
ExecStart = "${pkgs.openrgb-with-all-plugins}/bin/openrgb --gui --startminimized --server 127.0.0.1:6742 --profile default";
Restart = "on-failure";
Environment = "QT_QPA_PLATFORM=wayland;xcb";
};
Install.WantedBy = ["graphical-session.target"];
};
}

View file

@ -1,10 +0,0 @@
# TODO: figure out why this isnt working on wayland
{
config,
pkgs,
...
}: {
security.polkit.enable = true;
services.udisks2.enable = true;
services.gvfs.enable = true;
}

View file

@ -1,15 +0,0 @@
# Commands for cleaning up Nix system because I'm tired of looking these up:
nix-env --list-generations
# Perform garbage collection by deleting old derivations
nix-collect-garbage --delete-old
# recommeneded to sometimes run as sudo to collect additional garbage
sudo nix-collect-garbage -d
# As a separation of concerns - you will need to run this command to clean out boot
sudo /run/current-system/bin/switch-to-configuration boot
# bonus: in case you're stuck in some limbo state
sudo /run/current-system/sw/bin/nixos-rebuild switch --flake .