Set project name as a varible in flake so it can be changed easier.

This commit is contained in:
2025-12-11 16:20:20 +01:00
parent e0daa8743d
commit 7b51a603c4
9 changed files with 35 additions and 26 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, username, ...}:
{ pkgs, username, project, ...}:
{
xdg = {
desktopEntries.youtube = {
@ -19,7 +19,7 @@
categories = [ "Network" "InstantMessaging" "Chat" ];
exec = "vesktop %U";
genericName = "Internet Messenger";
icon = "/home/${username}/NixOS/other/discord.app.png";
icon = "/home/${username}/${project}/other/discord.app.png";
name = "Discord";
type = "Application";
};
@ -41,7 +41,7 @@
terminal = false;
categories = [ "System" "TerminalEmulator" ];
icon = "/home/${username}/NixOS/other/kitty.app.png";
icon = "/home/${username}/${project}/other/kitty.app.png";
};
desktopEntries."org.kde.kinfocenter" = {
@ -80,7 +80,7 @@
};
desktopEntries."nixos-manual" = {
name = "NixOS Manual";
name = "${project} Manual";
noDisplay = true;
};