1b80806516
* fix nixos-option * use flake-compat for all backward compat concerns * rebuild devshell after any nix file changes * reexport system pkgs as legacyPackages * provide lib flake output * provide flake lib to nixos configs via `lib.flk` * clean up flake.nix
10 lines
231 B
Nix
10 lines
231 B
Nix
{ ... }:
|
|
let
|
|
inherit (default.inputs.nixos) lib;
|
|
|
|
host = configs.${hostname} or configs.NixOS;
|
|
configs = default.nixosConfigurations;
|
|
default = (import ../.).defaultNix;
|
|
hostname = lib.fileContents /etc/hostname;
|
|
in
|
|
host
|