mirror of
https://github.com/divnix/digga.git
synced 2024-12-27 01:52:21 +03:00
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
|