Set project name as a varible in flake so it can be changed easier.
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user