tvl-depot/ops/nixos/default.nix
Vincent Ambo 63dc41bcf3 feat(ops/nixos): Check in updated system configuration for 'nugget'
This is the rebrand of the desktop machine, now running a config
straight out of the depot.
2020-01-04 22:50:34 +00:00

15 lines
346 B
Nix

{ pkgs, ... }:
let
inherit (pkgs) lib;
inherit (builtins) foldl';
systemFor = configs: (pkgs.third_party.nixos {
configuration = lib.fix(config:
foldl' lib.recursiveUpdate {} (map (c: c config) configs)
);
}).system;
in {
# TODO(tazjin): rename 'pkgs' -> 'depot'?
nuggetSystem = systemFor [ pkgs.ops.nixos.nugget ];
}