diff options
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 | ||
