Added streamdeck config and icons to home-manager, moved jetbrains toolbox desktop entry to dotfiles
@@ -1,19 +1,4 @@
|
|||||||
{ config, pkgs, ... }:
|
{ 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; [
|
environment.systemPackages = with pkgs; [
|
||||||
arduino-ide
|
arduino-ide
|
||||||
@@ -21,7 +6,6 @@ in
|
|||||||
gcc
|
gcc
|
||||||
gnumake
|
gnumake
|
||||||
jetbrains-toolbox
|
jetbrains-toolbox
|
||||||
jetbrainsToolboxDesktopEntry
|
|
||||||
nix-update
|
nix-update
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
nixos-generators
|
nixos-generators
|
||||||
|
|||||||
@@ -39,13 +39,16 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
programs.bash.enable = true;
|
||||||
programs.bemenu.enable = true;
|
programs.bemenu.enable = true;
|
||||||
|
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
font.name = "JetBrains Mono";
|
font.name = "JetBrains Mono";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Assets
|
||||||
|
home.file.".config/streamdeck-ui/icons".source = ./dotfiles/streamdeck/icons;
|
||||||
|
|
||||||
# Application config files
|
# Application config files
|
||||||
home.file.".config/glances/glances.conf".source = ./dotfiles/.config/glances/glances.conf;
|
home.file.".config/glances/glances.conf".source = ./dotfiles/.config/glances/glances.conf;
|
||||||
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
home.file.".config/hypr/hypridle.conf".source = ./dotfiles/hypridle/hypridle.conf;
|
||||||
@@ -54,17 +57,37 @@ in
|
|||||||
home.file.".config/hypr/hyprland-common.conf".source = ./dotfiles/hyprland/hyprland-common.conf;
|
home.file.".config/hypr/hyprland-common.conf".source = ./dotfiles/hyprland/hyprland-common.conf;
|
||||||
home.file.".config/hypr/hyprland.conf".source = hyprlandConfigPath + "/hyprland.conf";
|
home.file.".config/hypr/hyprland.conf".source = hyprlandConfigPath + "/hyprland.conf";
|
||||||
home.file.".config/kanshi/config".source = kanshiConfigPath + "/config";
|
home.file.".config/kanshi/config".source = kanshiConfigPath + "/config";
|
||||||
|
home.file.".config/streamdeck-ui/.streamdeck_ui_link.json" = {
|
||||||
|
source = ./dotfiles/streamdeck/.streamdeck_ui.json;
|
||||||
|
# Copy the symlinked version to its final location, otherwise it has no write permissions
|
||||||
|
# on the config file, which breaks the entire app
|
||||||
|
onChange = ''
|
||||||
|
cat ~/.config/streamdeck-ui/.streamdeck_ui_link.json > ~/.streamdeck_ui.json
|
||||||
|
chmod 600 ~/.streamdeck_ui.json
|
||||||
|
'';
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
home.file.".config/spotify-player/app.toml".text = spotifyPlayerAppTomlText;
|
home.file.".config/spotify-player/app.toml".text = spotifyPlayerAppTomlText;
|
||||||
home.file.".config/waybar/config".source = waybarConfigPath + "/config";
|
home.file.".config/waybar/config".source = waybarConfigPath + "/config";
|
||||||
home.file.".config/waybar/style.css".source = ./dotfiles/waybar/style.css;
|
home.file.".config/waybar/style.css".source = ./dotfiles/waybar/style.css;
|
||||||
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
home.file.".config/wlogout/layout".source = ./dotfiles/wlogout/layout;
|
||||||
|
|
||||||
# Desktop entry files so bemenu can find them
|
# Desktop entry files so bemenu can find them
|
||||||
home.file.".local/share/glances-bemenu.desktop".source = ./dotfiles/.local/share/glances-bemenu.desktop;
|
home.file.".local/share/glances-bemenu.desktop".source =
|
||||||
|
./dotfiles/.local/share/glances-bemenu.desktop;
|
||||||
home.file.".local/share/glava.desktop".source = ./dotfiles/.local/share/glava.desktop;
|
home.file.".local/share/glava.desktop".source = ./dotfiles/.local/share/glava.desktop;
|
||||||
|
home.file.".local/share/jetbrains-toolbox.desktop".source =
|
||||||
|
./dotfiles/.local/share/jetbrains-toolbox.desktop;
|
||||||
home.file.".local/share/spotify-player.desktop".source =
|
home.file.".local/share/spotify-player.desktop".source =
|
||||||
./dotfiles/.local/share/spotify-player.desktop;
|
./dotfiles/.local/share/spotify-player.desktop;
|
||||||
|
|
||||||
|
# Custom bash aliases
|
||||||
|
home.shellAliases = {
|
||||||
|
# Streamdeck isn't easy to manually edit, so make a save command to copy any updates to the repo
|
||||||
|
savestreamdeck = "cp ~/.streamdeck_ui.json ~/.nixos-configs/users/caperren/dotfiles/streamdeck/.streamdeck_ui.json";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Theming
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=JetBrains Toolbox
|
||||||
|
Exec=jetbrains-toolbox
|
||||||
|
Icon=jetbrains-toolbox
|
||||||
|
Terminal=false
|
||||||
|
Categories=Development;IDE;
|
||||||
1932
users/caperren/dotfiles/streamdeck/.streamdeck_ui.json
Normal file
BIN
users/caperren/dotfiles/streamdeck/icons/cogs-solid.png
Normal file
|
After Width: | Height: | Size: 24 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/discord-logo.png
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/expand-solid.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 9.2 KiB |
|
After Width: | Height: | Size: 8.0 KiB |
|
After Width: | Height: | Size: 9.0 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 20 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/microphone-solid.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/power-off-solid-red.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/retweet-solid-red.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/steam_logo.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/telegram-logo.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/volume-down-solid.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 14 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/volume-mute-solid.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
users/caperren/dotfiles/streamdeck/icons/volume-up-solid.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 12 KiB |