Post by Nixcademy
357 followers
Newly discovered rift technology expected to provide The Declarative Federation an edge over The Imperative Empire. A senior Nixer rejected your pull request stating "anti-patten" 🤷♂️ Can you find it? To get an excerpt from our book about this very topic: (1) follow us, (2) comment "anti-patterns" and (3) DM us "anti-patterns". To learn of your next assignment turn on notifications for Nixcademy posts. ```nix { inputs.nixpkgs.url = "github:NixOS/nixpkgs"; outputs = { self, nixpkgs, ... }: { packages.x86_64-linux.rift-tools = nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/rift-tools.nix { }; nixosConfigurations = { helm-gamma = nixpkgs.lib.nixosSystem { modules = [ ./helms/gamma ]; specialArgs = { inherit (self.packages.x86_64-linux) rift-tools; }; }; }; }; } ```