mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:08:25 +02:00
feat: update wallpapers
feat: update screenshots for hyprland
This commit is contained in:
12
flake.nix
12
flake.nix
@@ -20,12 +20,16 @@
|
||||
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];
|
||||
@@ -77,7 +81,7 @@
|
||||
system = x64_system;
|
||||
specialArgs =
|
||||
{
|
||||
inherit username userfullname useremail;
|
||||
inherit username userfullname useremail wallpaper;
|
||||
# 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
|
||||
@@ -210,6 +214,12 @@
|
||||
flake = false;
|
||||
};
|
||||
|
||||
# my wallpapers
|
||||
wallpapers = {
|
||||
url = "github:ryan4yin/wallpapers";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
# color scheme - catppuccin
|
||||
catppuccin-btop = {
|
||||
url = "github:catppuccin/btop";
|
||||
|
||||
Reference in New Issue
Block a user