nixos-config/default.nix
Christoph Heiss 6955ea6a96
machines: Add trek, my Framework laptop
.. and with it, all the infrastructure for desktop systems; as well as
laptop-specific things like WiFi and TLP.

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2023-04-08 18:33:17 +02:00

22 lines
465 B
Nix

let
nixpkgsCommit = "19cf008bb18e47b6e3b4e16e32a9a4bdd4b45f7e";
pkgs = import (fetchTarball
"https://github.com/NixOS/nixpkgs/archive/${nixpkgsCommit}.zip") { };
in {
network = {
inherit pkgs;
description = "c8h4.io infrastructure";
};
name = {
_module.args.machineName = "name.c8h4.io";
imports = [ ./machines/name.nix ];
};
trek = {
_module.args.machineName = "trek.c8h4.io";
imports = [ ./machines/trek.nix ];
};
}