feat: Improve noctalia settings and update flake inputs

This commit is contained in:
ulic-youthlic 2026-01-18 16:28:58 +08:00
parent 5e2e6ef3ae
commit 21082cc73f
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
6 changed files with 709 additions and 342 deletions

View file

@ -9,10 +9,14 @@ in {
options = {
david.wallpaper = {
enable = lib.mkEnableOption "wallpaper";
path = lib.mkOption {
type = lib.types.str;
default = "pic/wallpapaers";
};
};
};
config = lib.mkIf cfg.enable {
home.file."wallpaper" = {
home.file."${config.david.wallpaper.path}" = {
force = true;
recursive = true;
source = toString pkgs.wallpapers;