feat: wallpaper_random

This commit is contained in:
Ryan Yin
2023-07-29 23:08:13 +08:00
parent bc290e371b
commit a310ab4d4a
12 changed files with 153 additions and 47 deletions

View File

@@ -20,16 +20,12 @@
nix-darwin,
home-manager,
nixos-generators,
wallpapers,
...
}: let
username = "ryan";
userfullname = "Ryan Yin";
useremail = "xiaoyin_c@qq.com";
# https://github.com/ryan4yin/wallpapers
wallpaper = "${wallpapers}/anime-girls_seagulls_smoking_nature-occupation.jpg";
x64_system = "x86_64-linux";
x64_darwin = "x86_64-darwin";
allSystems = [x64_system x64_darwin];
@@ -81,7 +77,7 @@
system = x64_system;
specialArgs =
{
inherit username userfullname useremail wallpaper;
inherit username userfullname useremail;
# use unstable branch for some packages to get the latest updates
pkgs-unstable = import nixpkgs-unstable {
system = x64_system; # refer the `system` parameter form outer scope recursively