summaryrefslogtreecommitdiff
path: root/hosts/radish/tarball.nix
blob: e3840c93ce3e69ef0c615a9e243a0a292e29ef39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, config, inputs, ... }:

let inherit (inputs) nixpkgs;
in
{
  system.build.tarball = pkgs.callPackage "${nixpkgs}/nixos/lib/make-system-tarball.nix" {
    contents = [
      {
        source = "${config.system.build.toplevel}/.";
        target = "./";
      }
    ];
    extraArgs = "--owner=0";
  };
}