fixed mistake

This commit is contained in:
shinya 2025-10-27 19:32:41 +01:00
parent 023fefa330
commit d38acf7940
2 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ config
, lib
{ lib
, config
, system
, windows-theme
, ...
@ -18,7 +18,7 @@
config = lib.mkMerge [
(lib.mkIf config.nixp.enable {
config.nixp = {
nixp = {
theme = {
plymouth.enable = lib.mkDefault true;
};

View File

@ -1,6 +1,7 @@
{ windows-theme
, system
, lib
, config
, ...
}:
{
@ -39,7 +40,7 @@
config = lib.mkMerge [
(lib.mkIf config.nixp.mate.enable {
config.nixp.mate = {
nixp.mate = {
panel.enable = lib.mkDefault true;
theme.enable = lib.mkDefault true;
background.enable = lib.mkDefault true;
@ -156,7 +157,7 @@
home.file.".background-image".source = config.nixp.mate.background.path;
dconf.settings = {
"org/mate/desktop/background" = {
picture-filename = "/home/admin/.background-image"; # FIX: THIS PATH
picture-filename = "/home/${config.home.homeDirectory}/.background-image";
};
};
})