Last active
May 25, 2017 00:11
-
-
Save Taeradan/bf21c06b0e6918f75f857f4ea2b09cf6 to your computer and use it in GitHub Desktop.
recursiveUpdate error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{lib}: | |
let | |
profiles = { | |
isDesktopEnvironment = { | |
awesome = true; | |
internetSuite = true; | |
multimediaSuite = true; | |
officeSuite = true; | |
pulseaudio = true; | |
securitySuite = true; | |
}; | |
isWorkstation = { | |
graphical = true; | |
docker = true; | |
}; | |
isServer = { | |
}; | |
}; | |
in | |
rec { | |
applyProfilesToDirectory = customProfiles: directory: | |
lib.mapAttrs (applyProfilesToMachine customProfiles) directory; | |
applyProfilesToMachine = customProfiles: machineName: machineOptions: | |
lib.recursiveUpdate {} machineOptions; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment