summaryrefslogtreecommitdiffstats
path: root/default.nix
blob: 9368dcd9e357f9870b83a471e543e9dde88331cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import <nixpkgs/nixos> {} // rec {
  lib = import ./lib;
  systems = with lib; let
    namespace = getEnv "LOGNAME";
    systemsDir = <stockholm> + "/${namespace}/1systems";
  in
    genAttrs
      (attrNames (filterAttrs (_: eq "directory") (readDir systemsDir)))
      (name: import <nixpkgs/nixos> {
        configuration = import (systemsDir + "/${name}/config.nix");
      });
}
[cgit] Unable to lock slot /tmp/cgit/25100000.lock: No such file or directory (2)