diff options
| author | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-06-15 00:54:41 -0400 |
|---|---|---|
| committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2026-06-15 00:54:41 -0400 |
| commit | 7adeedbdd6287517fca8c0b8080221e77ad79b54 (patch) | |
| tree | 642d13739dc0c2d6cd88561101dbb10d3c69ef14 /hosts/RyanMac/configuration.nix | |
| parent | 9e70f144dde840fed8d8b485f9396638139ec310 (diff) | |
Added wallpapers and logic to rotate them
Diffstat (limited to 'hosts/RyanMac/configuration.nix')
| -rw-r--r-- | hosts/RyanMac/configuration.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/RyanMac/configuration.nix b/hosts/RyanMac/configuration.nix index 572c534..aa91f91 100644 --- a/hosts/RyanMac/configuration.nix +++ b/hosts/RyanMac/configuration.nix | |||
| @@ -20,6 +20,9 @@ let | |||
| 20 | }); | 20 | }); |
| 21 | 21 | ||
| 22 | in { | 22 | in { |
| 23 | # Modules | ||
| 24 | imports = [ ../../modules/darwin/random-wallpaper.nix ]; | ||
| 25 | |||
| 23 | # Define the system's user and home dir location | 26 | # Define the system's user and home dir location |
| 24 | users.users."${username}" = { | 27 | users.users."${username}" = { |
| 25 | name = "${username}"; | 28 | name = "${username}"; |
| @@ -28,6 +31,12 @@ in { | |||
| 28 | 31 | ||
| 29 | system.primaryUser = "${username}"; | 32 | system.primaryUser = "${username}"; |
| 30 | 33 | ||
| 34 | # Install the wallpaper engine | ||
| 35 | local.randomWallpaper = { | ||
| 36 | enable = true; | ||
| 37 | directory = "${../../files/Wallpapers}"; | ||
| 38 | }; | ||
| 39 | |||
| 31 | # Install the /etc/nix/flake-registry.json file we made above | 40 | # Install the /etc/nix/flake-registry.json file we made above |
| 32 | environment.etc."nix/flake-registry.json".source = pinnedNixpkgs; | 41 | environment.etc."nix/flake-registry.json".source = pinnedNixpkgs; |
| 33 | 42 | ||
