18 lines
326 B
Nix
18 lines
326 B
Nix
{ pkgs, lib, config, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
host = config.systemModules.host;
|
|
in
|
|
|
|
{
|
|
config = mkIf (host.type != "phone") {
|
|
# TODO: i dont't want to hardcode this.
|
|
environment.variables.FLAKE = "/home/ooks/.config/ooknet/";
|
|
|
|
programs.nh = {
|
|
enable = true;
|
|
package = pkgs.nh;
|
|
};
|
|
};
|
|
}
|