From 1e0eca0bcbfc338a585842c65c4b48d62d79728d Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 26 Oct 2024 17:44:36 +0200 Subject: Glued together corsac configuration Signed-off-by: Mel --- compat/nixos/default.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 compat/nixos/default.nix (limited to 'compat/nixos') diff --git a/compat/nixos/default.nix b/compat/nixos/default.nix new file mode 100644 index 0000000..3d547c2 --- /dev/null +++ b/compat/nixos/default.nix @@ -0,0 +1,13 @@ +# this file provides the current nixos configuration +# taken from the system flake. +# see `../default.nix` for explanation. +{ nixpkgs ? import {}, ... }: + +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} -- cgit 1.4.1