Set project name as a varible in flake so it can be changed easier.
This commit is contained in:
@ -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 = {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{config, pkgs, username, ...}:
|
||||
{config, pkgs, username, project, ...}:
|
||||
let
|
||||
# Define the custom background package with the correct relative path
|
||||
background-package = pkgs.stdenvNoCC.mkDerivation {
|
||||
@ -71,8 +71,8 @@ in
|
||||
#};
|
||||
|
||||
system.activationScripts.script.text = ''
|
||||
source /home/cookiez/NixOS/other/colors.sh
|
||||
source /home/cookiez/NixOS/other/pfp.sh
|
||||
source /home/${username}/${project}/other/colors.sh
|
||||
source /home/${username}/${project}/other/pfp.sh
|
||||
'';
|
||||
|
||||
#services.displayManager.sddm = {
|
||||
|
||||
Reference in New Issue
Block a user