diff options
| author | Mel <einebeere@gmail.com> | 2024-10-26 17:44:36 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-10-26 17:44:36 +0200 |
| commit | 1e0eca0bcbfc338a585842c65c4b48d62d79728d (patch) | |
| tree | 9ab21421d798f0812c966532d8c10bb5c8384e81 /compat/nixos | |
| download | network-1e0eca0bcbfc338a585842c65c4b48d62d79728d.tar.zst network-1e0eca0bcbfc338a585842c65c4b48d62d79728d.zip | |
Glued together corsac configuration
Signed-off-by: Mel <einebeere@gmail.com>
Diffstat (limited to 'compat/nixos')
| -rw-r--r-- | compat/nixos/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
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 <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} |
