forked from pub-solar/os
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
11 lines
231 B
Nix
11 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
|