blob: 3d547c2f59a59c6089097cc055088274b4f1e46d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# this file provides the current nixos configuration
# taken from the system flake.
# see `../default.nix` for explanation.
{ nixpkgs ? import <nixpkgs> {}, ... }:
with builtins;
let
me = with builtins;
nixpkgs.lib.toLower (head (split "\n" (readFile /etc/hostname)));
flake = import ../flake-compat.nix { src = ./../..; };
in
flake.defaultNix.nixosConfigurations.${me}
|