Add desktop file for spotify-player, jetbrains-toolbox, autostart hypridle, dotfiles for hypridle, idle_inhibitor configs, gtk app dark theme

This commit is contained in:
2025-07-01 23:50:29 -07:00
parent 37398fccac
commit b138866194
7 changed files with 124 additions and 28 deletions

View File

@@ -1,5 +1,19 @@
{ config, pkgs, ... }:
{
let
spotifyPlayerDesktopEntry = pkgs.writeTextFile {
name = "spotify-player-desktop";
destination = "/share/applications/spotify-player.desktop";
text = ''
[Desktop Entry]
Type=Application
Name=Spotify Player
Exec=kitty -e spotify_player
Icon=spotify_player
Terminal=false
Categories=Media;
'';
};
in {
boot = {
# Make v4l2loopback kernel module available to NixOS.
extraModulePackages = with config.boot.kernelPackages; [
@@ -26,18 +40,20 @@
};
environment.systemPackages = with pkgs; [
deadbeef
vlc
sox
audacity
glava
spotify-player
projectm_3
obs-studio
darktable
# Encountering build failures
# plex-desktop
audacity
darktable
deadbeef
glava
obs-studio
# plex-desktop --> Encountering build failures
projectm_3
sox
spotify-player
spotifyPlayerDesktopEntry
vlc
];
}

View File

@@ -1,20 +1,35 @@
{ config, pkgs, ... }:
{
let
jetbrainsToolboxDesktopEntry = pkgs.writeTextFile {
name = "jetbrains-toolbox-desktop";
destination = "/share/applications/jetbrains-toolbox.desktop";
text = ''
[Desktop Entry]
Type=Application
Name=JetBrains Toolbox
Exec=jetbrains-toolbox
Icon=jetbrains-toolbox
Terminal=false
Categories=Development;IDE;
'';
};
in {
environment.systemPackages = with pkgs; [
vscode-with-extensions
nixfmt-rfc-style
platformio
jetbrains-toolbox
arduino-ide
python311Full
gcc
jetbrains-toolbox
jetbrainsToolboxDesktopEntry
nix-update
nixfmt-rfc-style
nixos-generators
nodejs
platformio
python311Full
python3Full
stm32cubemx
stm32flash
python3Full
nix-update
nixos-generators
teensy-udev-rules
vscode-with-extensions
];
services.udev.extraRules = ''