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 @@
{ config, pkgs, username, ... }:
{ config, pkgs, username, project, ... }:
{
#To show logs of services run: journalctl --user-unit={service-name} --user
@ -9,7 +9,7 @@
#after = [ "plasma-desktop.service" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {
ExecStart = [ "/run/current-system/sw/bin/plasma-apply-wallpaperimage /home/${username}/NixOS/other/wallpaper2.png" ];
ExecStart = [ "/run/current-system/sw/bin/plasma-apply-wallpaperimage /home/${username}/${project}/other/wallpaper2.png" ];
Type = "oneshot";
Restart = "on-failure";
@ -34,7 +34,7 @@
systemd.user.services.theme-set-reminder = {
enable = true;
description = "Remind the user to apply the custom Plasma Theme shipped with this NixOS";
description = "Remind the user to apply the custom Plasma Theme shipped with this install";
after = [ "graphical-session.target" ];
wantedBy = [ "graphical-session.target" ];
serviceConfig = {